When an MSDP running fault occurs, you can run the debugging commands described in this section in the user view to debug MSDP, display debugging information, and analyze and locate the fault.
Enabling the debugging affects system performance. Therefore, after the debugging, you should run the undo debugging all command to disable the debugging immediately.
Before the debugging, you must run the terminal monitor and terminal debugging commands in the user view to enable the information display and debugging display functions of the terminal, so that debugging information is displayed on the terminal.
Table 1 lists the related operations for debugging MSDP.
| Operation | Command |
|---|---|
Enable all the debugging of MSDP. |
debugging msdp [ vpn-instance vpn-instance-name | all-instance ] all |
Enable the debugging of the resetting of the MSDP peer connection. |
debugging msdp [ vpn-instance vpn-instance-name | all-instance ] connect |
Enable the debugging of MSDP events. |
debugging msdp [ vpn-instance vpn-instance-name | all-instance ] event |
Enable the debugging of MSDP packets. |
debugging msdp [ vpn-instance vpn-instance-name | all-instance ] packet |
Enable the debugging of MSDP active sources. |
debugging msdp [ vpn-instance vpn-instance-name | all-instance ] source-active |