display msdp peer-status

Use display msdp peer-status to display detailed status information for MSDP peers.

Syntax

display msdp [ vpn-instance vpn-instance-name ] peer-status [ peer-address ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays detailed status information for MSDP peers on the public network.

peer-address: Specifies an MSDP peer by its address. If you do not specify an MSDP peer, this command displays detailed status information for all MSDP peers.

Examples

# Display detailed status information for MSDP peer 20.20.20.20 on the public network.

<Sysname> display msdp peer-status 20.20.20.20
MSDP peer 20.20.20.20; AS 100
 Description:
 Information about connection status:
   State: Disabled
   Up/down time: 14:41:08
   Resets: 0
   Connection interface: LoopBack0 (20.20.20.30)
   Received/sent messages: 867/867
   Discarded input messages: 0
   Discarded output messages: 0
   Elapsed time since last connection or counters clear: 14:42:40
   Mesh group peer joined: momo
   Last disconnect reason: Hold timer expired with truncated message
   Truncated packet: 5 bytes in buffer, type: 1, length: 20, without packet time: 75s
 Information about (Source, Group)-based SA filtering policy:
   Import policy: None
   Export policy: None
 Information about SA-Requests:
   Policy to accept SA-Requests: None
   Sending SA-Requests status: Disable
 Minimum TTL to forward SA with encapsulated data: 0
 SAs learned from this peer: 0, SA cache maximum for the peer: 4294967295
 Input queue size: 0, Output queue size: 0
 Counters for MSDP messages:
   RPF check failure: 0
   Incoming/outgoing SA: 0/0
   Incoming/outgoing SA-Request: 0/0
   Incoming/outgoing SA-Response: 0/0
   Incoming/outgoing Keepalive: 867/867
   Incoming/outgoing Notification: 0/0
   Incoming/outgoing Traceroutes in progress: 0/0
   Incoming/outgoing Traceroute reply: 0/0
   Incoming/outgoing Unknown: 0/0
   Incoming/outgoing data packet: 0/0

Table 52: Command output

Field

Description

MSDP peer

MSDP peer address.

AS

Number of the AS where the MSDP peer is located. If the system could not obtain the AS number, this field displays a question mark (?).

State

MSDP peer status:

  • Established—A session has been established and the MSDP peer is in session.

  • Listen—A session has been established and the local device acts as the server in listening state.

  • Connect—A session is not established and the local device acts as a client in connecting state.

  • Shutdown—The session has been torn down.

  • Disabled—The connection failed.

Up/Down time

Length of time since the MSDP peering connection was established or torn down.

Resets

MSDP peering connection reset times.

Connection interface

Interface and IP address used for setting up a TCP connection with the remote MSDP peer.

Received/sent messages

Number of SA messages sent and received through this connection.

Discarded input messages

Number of discarded incoming messages.

Discarded output messages

Number of discarded outgoing messages.

Elapsed time since last connection or counters clear

Elapsed time since the MSDP peer information was last cleared.

Mesh group peer joined

Mesh group that the MSDP peer has joined. This field is not displayed if the MSDP peer does not join a mesh group.

Last disconnect reason

Reason why last MSDP peering connection was torn down. If the connection is not terminated, this field does not display a value.

  • Hold timer expired without message—Hold timer expires and the receiving cache has no messages.

  • Hold timer expired with truncated message—Hold timer expires and messages in the receiving buffer are not intact.

    • bytes in buffer—Size of data in the receiving buffer when the connection was terminated.

    • type—Type of packets in the receiving buffer when the connection was terminated.

    • length—Length of packets in the receiving buffer when the connection was terminated. If the packet is too small in size, this field cannot be resolved and is not displayed.

    • without packet time—Length of time since packets were last processed.

  • Remote peer has been closed—The MSDP peering connection has been torn down.

  • TCP ERROR/HUP event received—Error/hup event received by the TCP socket when the MSDP peer sent messages.

  • Illegal message received—The MSDP peer received illegal messages.

  • Notification received—The MSDP peer received notification messages.

  • Reset command executed—The user executed the reset msdp peer command.

  • Shutdown command executed—The user executed the shutdown command.

  • Interface downed—The MSDP peer received the interface down event when connecting to the remote MSDP peer.

Information about (Source, Group)-based SA filtering policy

SA message filtering list information:

  • Import policy—Filter list for receiving SA messages from the specified MSDP peer.

  • Export policy—Filter list for forwarding SA messages from the specified MSDP peer.

Information about SA-Requests

SA request information:

  • Policy to accept SA request messages—Filtering rule for receiving or forwarding SA request messages from the specified MSDP peer. If SA request messages are not filtered, this field displays None.

  • Sending SA requests status—Whether the MSDP peer is enabled to send an SA request message to the designated MSDP peer after receiving a new join message.

Minimum TTL to forward SA with encapsulated data

Lower TTL threshold for the multicast packets encapsulated in SA messages.

SAs learned from this peer

Number of cached (S, G) entries learned from the specified MSDP peer.

SA-cache maximum for the peer

Maximum number of (S, G) entries learned from the specified MSDP peer that the device can cache.

Input queue size

Data size cached in the input queue.

Output queue size

Data size cached in the output queue.

Counters for MSDP message

MSDP peer statistics:

  • RPF check failure—Number of SA messages discarded because of RPF check failure.

  • Incoming/outgoing SA—Number of received and sent SA messages.

  • Incoming/outgoing SA-Request—Number of received and sent SA requests.

  • Incoming/outgoing SA-Response—Number of received and sent SA responses.

  • Incoming/outgoing Keepalive—Number of received and sent keepalive messages.

  • Incoming/outgoing Notification—Number of received and sent notification messages.

  • Incoming/outgoing Traceroutes in progress—Number of received and sent traceroute-in-progress messages.

  • Incoming/outgoing Traceroute reply—Number of received and sent traceroute replies.

  • Incoming/outgoing Unknown—Number of received and sent unknown messages.

  • Incoming/outgoing data packet—Number of received and sent SA messages encapsulated with multicast data.