show ip msdp peer

Displays Multicast Source Discovery Protocol (MSDP) peer information.
Syntax
show ip msdp [ vrf vrf-name ] peer peer-address
Parameters
vrf vrf-name
Displays information for a specific VRF instance.
Modes

User EXEC mode

The show ip msdp peeer command displays the following information:

Output Field

Description

IP Address

The IP address.

State

Indicates the session state. The session state can be one of the following states:

  • SHUTDOWN: Peer has been disabled.
  • IDLE: There is no reachability (route) to the peer or there is no IP address assigned to the source-interface for that peer.
  • CONNECT: Establishing connection to peer.
  • LISTEN: Awaiting connection request from peer.
  • ESTABLISH: Connection established with peer.

Mesh-group-name

The name of mesh group.

Keep Alive Time

The keep alive timer (in seconds).

Hold Time

The hold time, which specifies how many seconds to wait for a keepalive or SA update message from a peer before closing the connection with the peer.

Age

The amount of time (in seconds) elapsed since the last keepalive or SA update message was received from a peer.

Message Sent

The number of messages sent. Statistics are shown for the following message types:

  • Keep Alive
  • Notifications
  • Source-Active

Message Received

The number of messages received. Statistics are shown for the following message types:

  • Keep Alive
  • Notifications
  • Source-Active

Lack of Resource

The number of messages from the peer that are dropped due to a lack of resources.

Last Connection Reset Reason

The reason the previous session was terminated.

Notification Message Error Code Received

Indicates if a notification message containing an error code was received.

Notification Message Error SubCode Received

Indicates if a notification message containing an error subcode was received.

Notification Message Error Code Transmitted

Indicates if a notification message containing an error code was sent.

Notification Message Error SubCode Transmitted

Indicates if a notification message containing an error subcode was sent.

Local IP Address

The local IPv4 address.

TCP Connection state

The state of the connection.

Local host

The IP address of the device.

Local Port

The TCP port the device is using for the TCP session.

Remote host

The IP address of the neighbor.

Remote Port

The TCP port the neighbor is using for the TCP session.

SentSeq

The initial send sequence number for the session.

SendNext

The next sequence number to be sent.

TotUnAck

The number of sequence numbers sent by the device that have not been acknowledged by the neighbor.

SendWnd

The size of the send window.

TotSent

The number of sequence numbers sent to the neighbor.

ReTrans

The number of sequence numbers that the device retransmitted because they were not acknowledged.

IRcvSeq

The initial receive sequence number for the session.

RcvNext

The next sequence number expected from the neighbor.

RcvWnd

The size of the receive window.

TotalRcv

The number of sequence numbers received from the neighbor.

RcvQue

The number of sequence numbers in the receive queue.

SendQue

The number of sequence numbers in the send queue.

Input SA Filter

Indicates whether a filter has been applied for incoming SA messages from the peer.

Input (S,G) route-map

The route map configured to filter incoming SA messages from the peer for specific sources (S) and groups (G).

Input RP route-map

The route map configured to filter incoming SA messages from the peer for a specific rendezvous point (RP).

Output SA Filter

Indicates whether a filter has been applied for outgoing SA messages to the peer.

Output (S,G) route-map

The route map configured to filter outgoing SA messages to a peer for specific sources (S) and groups (G) .

Output RP route-map

The route map configured to filter outgoing SA messages to a peer for a specific RP.

SA message Drops

Number of SA messages dropped.

Bad_length

Number of SA messages dropped due to invalid length.

Invalid_VrfIdx

Number of SA messages dropped due to invalid VRF index.

Rpf_Failure_Drop

Number of SA messages that failed RPF check.

Wrong_group_Drop

Number of SA messages received for IPv4 multicast group address in the Local Network Control Block (224.0.0.0 – 224.0.0.255) or in the Internetwork Control Block (224.0.1.0 – 224.0.1.255). SA messages for these multicast group addresses will be dropped because the traffic to these group addresses is not routable.

Inbound_sg_Drop

Number of SA messages denied by the inbound SG filter for the peer.

Inbound_rp_Drop

Number of SA messages denied by the inbound RP filter for the peer.

Outbound_sg_Drop

Number of SA messages denied by the outbound SG filter for the peer.

Outbound_rp_Drop

Number of SA messages denied by the outbound RP filter for the peer.

Examples

The following example shows MSDP information about the specified peer.

device> show ip msdp peer 10.40.40.3

MSDP Peer Status Summary
KA: Keepalive SA:Source-Active NOT: Notification
Peer Address Peer As  State         KA     SA      NOT    Age
                                  In Out  In Out  In Out
10.40.40.3   1001    ESTABLISH    62 62   0  0    0   0   7

The following example shows MSDP information including information for drop counters.

device> show ip msdp peer 

        IP Address           State			Mesh-group-name                
1       10.10.30.2           ESTABLISH                                  
        Keep Alive Time  Hold Time   Age          
        60               75          40           
                             Message Sent  Message Received 
        Keep Alive           6             6                         
        Notifications        0             0                            
        Source-Active        0             0                            
        Lack of Resource     0                   
        Last Connection Reset Reason:Reason Unknown
        Notification Message Error Code Received:Unspecified
        Notification Message Error SubCode Received:Not Applicable
        Notification Message Error Code Transmitted:Unspecified
        Notification Message Error SubCode Transmitted:Not Applicable
        Local IP Address:  10.10.30.1
        TCP Connection state: ESTABLISHED
          Local host:  10.10.30.1,   Local  Port:8691
          Remote host: 10.10.30.2,   Remote Port: 639
          ISentSeq:  2760064  SendNext:       2760083   TotUnAck:  0
          SendWnd:     16381  TotSent:             19   ReTrans:   0
          IRcvSeq:1231106756  RcvNext:     1231106775   RcvWnd:16384
          TotalRcv:       19  RcvQue:               0   SendQue:   0
        Input SA Filter:Not Applicable
        Input (S,G) route-map:None                                
        Input RP route-map:None
        Output SA Filter:Not Applicable
        Output (S,G) route-map:None
        Output RP route-map:None
   SA message Drops: 
  Bad_length                     : 0
  Invalid_VrfIdx                 : 0
  Rpf_Failure_Drop               : 0
  Wrong_group_Drop               : 0
  Inbound_sg_Drop                : 0
  Inbound_rp_Drop                : 0
  Outbound_sg_Drop               : 0 
  Outbound_rp_Drop               : 0

History
Release version Command history
08.0.92 The output for this command was modified to display information for drop counters.