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.
peer peer-address
Displays information for the specifc peer address
Modes

User EXEC mode

The show ip msdp peer 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.

AO Keychain name The name of the TCP authentication keychain applied to the MSDP peer

TCP Connection state

The state of the connection.

TCP Keychain (name) details Name and configuration details for applied TCP (AO) keychain.
TCP-AO Enabled: YES/NO
TCP-AO in use: YES/NO
Keychain valid: YES/NO
No of segments dropped: Number of TCP segments that failed TCP authentication
Send-Active-Key Configuration details about the TCP AO send key
Crypto Algorithm : Name of key-exchange method used
Send-id: Numeric identifier of send key
Recv-id : Numeric identifier of expected receive key
Include-tcp-options: YES/NO
Accept-ao-mismatch: YES/NO
Recv-active-key Configuration details for TCP key used to authenticate received TCP segments
Crypto Algorithm : Name of key-exchange method used
Send-id: Numeric identifier of send key
Recv-id : Numeric identifier of expected receive key
Include-tcp-options: YES/NO

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).

Added for 10.0.20a. Verify this information.
Input SA-CACHE limit
The maximum number of SA messages allowed in the SA cache.
Added for 10.0.20a. Verify this information.
Input SA-CACHE count
The current SA cache count.

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.

Added for 10.0.20a. Verify this information.
Inbound_sa_Drop

Number of SA messages denied by the inbound SA filter for the peer if the entry exceeds the SA cache size limit\.

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 displays output for the show ip msdp peer command.

device# show ip msdp peer 100.1.1.10
        IP Address           State       Mesh-group-name                
1       100.1.1.10           ESTABLISH                                  
        Keep Alive Time  Hold Time   Age          
        60               75          15           
                             Message Sent         Message Received 
        Keep Alive           0                    0                            
        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:  200.1.1.10
        AO Keychain name:  msdp_ao_test1
        TCP Connection state: ESTABLISHED

     TCP Keychain name      : msdp_ao_test1
     TCP-AO Enabled         : YES
     TCP-AO in use          : YES
     Keychain valid         : YES
     No of segments dropped : 0
     Send-Active-Key
     ---------------
       Key-id               : 2000
       Crypto Algorithm     : AES-128-CMAC
       Send-id              : 200
       Recv-id              : 100
       Include-tcp-options  : YES
       Accept-ao-mismatch   : YES
     Recv-Active-Key
     ---------------
       Key-id               : 2000
       Crypto Algorithm     : AES-128-CMAC
       Send-id              : 200
       Recv-id              : 100
       Include-tcp-options  : YES
       Accept-ao-mismatch   : YES
          Local host:  200.1.1.10, Local  Port: 639
          Remote host: 100.1.1.10, Remote Port: 8585
          ISentSeq:  514806291  SendNext:  514806292  TotUnAck:          0
          SendWnd:       16384  TotSent:           1  ReTrans:           0
          IRcvSeq:  1692311592  RcvNext:  1692311593  RcvWnd:        16384
          TotalRcv:          1  RcvQue:            0  SendQue:           0
        Input SA Filter:Not Applicable
        Input (S,G) route-map:None
        Input RP route-map:None
        Input SA-CACHE limit: 4096
        Input SA-CACHE count: 0
        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
                Inbound_sa_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.
09.0.10 The command output was modified to include TCP keychain (AO) options.
10.0.20a The command output was modified to include Input SA-CACHE limit and count information.