display msdp [ vpn-instance vpn-instance-name | all-instance ] brief [ state { connect | down | listen | shutdown | up } ]
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. | The name is a string of 1 to 31 characters. |
| all-instance | Indicates all the instances. | - |
| connect | Indicates the MSDP peers in the Connect state. | - |
| down | Indicates the MSDP peers in the Down state. | - |
| listen | Indicates the MSDP peers in the Listen state. | - |
| shutdown | Indicates the MSDP peers in Shutdown state. | - |
| up | Indicates the MSDP peers in the Up state. | - |
Usage Scenario
As defined by MSDP, the peer with the higher IP address functions as a server and listens at port 639, and the peer with the lower IP address functions as a client and initiates a connection. If the connection initiates by the client fails, the client initiates a connection again after a period of time.
A TCP connection needs to be set up among MSDP peers. You can use the display msdp brief command to view the brief status of remote MSDP peers and the state of the TCP connection.
Precautions
If vpn-instance or all-instance is not specified, only the public network instance is displayed.
MSDP defines that the peer with the higher IP address acts as the server and listens at port 639. The peer with the lower IP address acts as client and enables the connection. If the connection fails, the client enables the connection again.
# Display the brief status information of MSDP peers in the public network instance.
<sysname> display msdp brief MSDP Peer Brief Information of VPN-Instance: public net Configured Up Listen Connect Shutdown Down 2 2 0 0 0 0 Peer's Address State Up/Down time AS SA Count Reset Count 192.168.3.2 UP 01:07:08 ? 8 0 192.168.5.1 UP 00:16:39 ? 13 0
Item |
Description |
|---|---|
MSDP Peer Brief Information of VPN-Instance |
VPN instance to which brief information about MSDP peers corresponds |
Configured |
Total number of configured MSDP peers |
Up |
Number of MSDP peers in the Up state |
Listen |
Number of MSDP peers in the Listen state |
Connect |
Number of MSDP peers in the Connect state |
Shutdown |
Number of MSDP peers in the Shutdown state |
Down |
Number of MSDP peers in the Down state |
Peer's Address |
Address of the peer |
State |
Status of the MSDP session
NOTE:
If Down is displayed in the State field, check that the MSDP peer interfaces are configured correctly and the two MSDP peers can ping each other. If either end fails to be pinged, troubleshoot faults. For troubleshooting details, see the section "The Ping Operation Fails " in VRP Troubleshooting - IP Forwarding and Routing. |
Up/Down time |
Time when the session becomes Up or Down. The time format
is as follows:
|
AS |
The AS number of the MSDP peer. "?" indicates that the AS number cannot be obtained |
SA Count |
Number of (S, G) entries in the cache |
Reset Count |
Number of times to reset, including the resetting because the Notification message is received or Holdtimer times out |