40.4 MSDP Commands
MSDP Configuration Commands (Global)
peer
MSDP Peer Configuration Commands
MSDP SA Cache Commands
MSDP Display Commands
clear ip msdp sa-cache
The clear ip msdp sa-cache command removes contents of the Source-Active (SA) message cache. The command provides these filter options for removing partial cache contents:
contents of a multicast group by specifying its group address
all cache contents
Command Mode
Router MSDP Configuration
Router MSDP VRF Configuration
Command Syntax
clear ip msdp sa-cache [ADDRESS_FILTER]
Parameters
ADDRESS_FILTER     IPv4 address used to select table entries for removal.
<no parameter>     All SA messages
grp_addr     Multicast group address (IPv4 address). The grp_addr must be a valid multicast address.
Example
This command deletes all SA message cache contents.
switch(config)#router msdp
switch(config-router-msdp)#clear ip msdp sa-cache
connection retry interval
The connection retry interval command specifies the period that the switch waits after an MSDP peering session is reset before trying to reestablish the session. The default period is 30 seconds.
The no connection retry interval and default connection retry interval commands reset the timer interval to the default period of 30 seconds by removing the connection retry interval command from running-config.
Command Mode
Router MSDP Configuration
Router MSDP VRF Configuration
Command Syntax
connection retry interval connect_retry
no connection retry interval connect_retry
default connection retry interval connect_retry
Parameter
connect_retry     Reconnect period (seconds). Value ranges from 1 to 65535. Default is 30.
Example
This command configures the switch to wait 45 seconds after an MSDP peering session is reset before attempting to reestablish the session.
switch(config)#router msdp
switch(config-router-msdp)#connection retry interval 45
default-peer
The default-peer command configures the specified MSDP peer connection as a default peer on the switch. The default peer configuration defines the peers from which the switch accepts Source-Active (SA) messages. When the command includes a prefix list parameter, the specified peer is the default peer for only SA messages originating from rendezvous points (RPs) covered by prefix list entries. The default peer address must be a previously configured MSDP peer (configured using the peer command).
Default peers provide an alternative to reverse packet forwarding (RPF) typically used by MSDP to specify the peers from which a switch accepts SA messages. However, RPF requires a unicast routing table that is correct and converged. RPF also assumes symmetric forward and reverse paths between router and sender. RPF fails on uni-directional links. Default MSDP peers invalidate the use of RPF over unicast routing tables.
The switch can designate multiple default peers:
Switch defines one peer: A default peer statement is not required; the switch accepts SA traffic from the configured peer.
Switch defines one default peer (no prefix list): The switch accepts all SA messages from only the default peer.
Switch defines multiple default peers (no prefix lists): The switch accepts all SA messages from only the first default peer listed in running-config. Other listed default peers are used only when peers listed before them in running-config are not accessible.
First default-peer statement includes a prefix list: The switch accepts all SA messages from the default peer whose originating RP is covered in the prefix list. The disposition of SA messages originating from other RPs is determined by subsequent default-peer statements.
The no default-peer and default default-peer commands remove the corresponding default-peer command from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
default-peer [PREFIX]
no default-peer
default default-peer
Parameters
PREFIX     List of RPs from the SA messages originate for whiich the default peer is valid.
<no parameter>     default peer is valid for SAs from all originating RPs.
prefix-list list_name     name of the prefix list that defines affected originating RP prefixes.
Example
These commands configure two MSDP peers and configure the peer at 10.5.2.2 as the default peer.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.6.2.2
switch(config-router-msdp-peer-10.6.2.2)#exit
switch(config-router-msdp)#peer 10.5.2.2
switch(config-router-msdp-peer-10.5.2.2)#default-peer
switch(config-router-msdp-peer-10.5.2.2)#
 
 
description (MSDP)
The description command associates descriptive text with the configuration-mode MSDP peer.
The no description and default description commands remove the text association from the specified peer.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
description description_string
no description
default description
Parameters
description_string     text string that is associated with the peer.
Example
These commands associate the string NORTH with the MSDP peer located at 10.4.4.12.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#description NORTH
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Description: NORTH
Connection status:
   State: Connect
   Resets: 0
   Connection Source: Loopback100 (10.6.8.6)
SAs accepted:
switch(config-router-msdp-peer-10.4.4.12)#
disabled (MSDP)
The disabled command closes the peering session with the specified MSDP peer by terminating the TCP connection between the switch and the peer. The connection is not resumed until the shutdown command is removed from running-config.
The no disabled and default disabled commands establish an MSDP peering session with the specified peer by removing the corresponding disabled command from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
disabled
no disabled
default disabled
Examples
This command closes the peering session with the MSDP peer at 10.4.4.12.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#disabled
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Description: NORTH
Connection status:
   State: Disbled
   Resets: 0
   Connection Source: Loopback100 ( 10.6.8.6 )
SAs accepted:
switch(config-router-msdp-peer-10.4.4.12)#
This command reopens the peering session with the peer at 10.4.4.12.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#no disabled
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Description: NORTH
Connection status:
   State: Connect
   Resets: 0
   Connection Source: Loopback100 ( 10.6.8.6 )
SAs accepted:
switch(config-router-msdp-peer-10.4.4.12)#
 
 
group-limit
The group-limit command specifies the maximum number of Source-Active (SA) messages that the switch allows in the SA cache for a specified multicast group address.
SA messages have an expiration period of 90 seconds and remain in the SA cache until they expire. The switch does not accept SA messages for a group whose cache limit is reached until its cached messages start expiring.
The no group-limit and default group-limit command removes the maximum group limit for the specified prefix by removing the corresponding group-limit statement from running-config.
Command Mode
Router MSDP Configuration
Router MSDP VRF Configuration
Command Syntax
group-limit quantity source src_subnet
no group-limit quantity source src_subnet
default group-limit quantity source src_subnet
Parameters
quantity     maximum number of groups that can access the interface. Value ranges from 1 to 40000.
src_subnet     Source IPv4 subnet (CIDR or address-mask notation).
Example
This command sets the maximum number of 1000 SAs for multicast group 10.13.15.8/29.
switch(config)#router msdp
switch(config-router-msdp)#group-limit 1000 source 10.13.15.8/29
 
 
 
ip msdp rejected-limit
The ip msdp rejected-limit command specifies the maximum number of rejected Source-Active messages that the switch allows in the SA cache.
SA messages have an expiration period of 90 seconds. They remain in the SA cache during this time. The default limit of rejected SA messages that the switch can store is 40000.
The no ip msdp rejected-limit and default ip msdp rejected-limit commands restore the rejected SA limit of 40000 by removing the ip msdp rejected-limit statement from running-config.
Command Mode
Router MSDP Configuration
Router MSDP VRF Configuration
Command Syntax
ip msdp rejected-limit quantity
no ip msdp rejected-limit
default ip msdp rejected-limit
Parameter
quantity     maximum rejected SA messages the SA cache can store. Value ranges from 0 to 40000.
Example
This command sets 5000 as the maximum number of rejected SAs that the SA cache can contain.
switch(config)#router msdp
switch(config-router-msdp)#ip msdp rejected-limit 5000
 
 
keepalive (MSDP)
The keepalive command configures the MSDP keep-alive and hold time intervals for a specified MSDP peer connection.
Keep-alive time interval is the period between the transmission of consecutive keep-alive messages. The default keep-alive time interval is 60 seconds.
Hold time interval is the period the switch waits for a KEEPALIVE or UPDATE message before it disables peering. The default hold time interval is 75 seconds.
The no keepalive and default keepalive commands restore the default keep-alive and hold time intervals for the specified MSDP peer connection by removing the corresponding keepalive command from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
keepalive keep_alive hold_time
no keepalive
default keepalive
Parameters
keep_alive     keep-alive period in seconds. Value ranges from 1 to 65535. Default value is 60.
hold_time     hold time in seconds. Value ranges from 1 to 65535. Default value is 75.
Note The hold time interval must be longer than or equal to the keep-alive time interval.
Example
This command sets the keep-alive time to 45 seconds and the hold time to 80 seconds for the connection with the MSDP peer at 10.4.4.12.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#keepalive 45 80
switch(config-router-msdp-peer-10.4.4.12)#
local-interface
MSDP peering sessions are established over a TCP connection. The local-interface command specifies the interface through which the TCP connection is established with the configuration-mode MSDP peer. When the local-interface command is not used to specify an interface, the connection is established through an interface determined by existing routing algorithms.
The no local-interface and default local-interface commands remove the corresponding local-interface command from running-config, returning selection of the connecting interface to the routing algorithm.
Command Mode
Router MSDP Peer Configuration
Router MSDP VRF Peer Configuration
Command Syntax
local-interface interface
no local-interface
default local-interface
Parameters
interface     local interface through which the TCP connection is established. Options include:
ethernet e_num     Ethernet interface.
loopback l_num     Loopback interface.
management m_num     Management interface.
port-channel p_num     Port-Channel Interface.
vlan v_num     VLAN interface.
vxlan vx_num     VXLAN interface.
Example
These commands assign an IP address to loopback interface 100, then establish the TCP peer session to the MSDP peer at 10.4.4.12 through the loopback in the default VRF.
switch(config)#interface loopback 100
switch(config-if-Lo100)#ip address 10.6.8.6/24
switch(config-if-Lo100)#exit
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#local-interface loopback 100
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Connection status:
   State: Connect
   Resets: 0
   Connection Source: Loopback100 (10.6.8.6)
SAs accepted:
switch(config-router-msdp-peer-10.4.4.12)#
 
mesh-group
The mesh-group command configures the configuration-mode MSDP peer connection as an MSDP mesh group member. A peer can be assigned to multiple mesh groups. Multiple MSDP peers can be assigned to a common mesh group.
An MSDP mesh group is a network of MSDP speakers where each speaker directly connects to every other speaker. The switch does not forward Source-Active (SA) messages that it receives from a mesh group peer to other peers of the same group.
The no mesh-group and default mesh-group commands delete the configuration-mode peer connection from a mesh group by removing the corresponding mesh-group command from running-config when issued in Router MSDP Peer Configuration or Router MSDP Peer VRF Configuration Mode.
Note To delete all configured connections from a specified mesh group, use the no mesh-group command in Router MSDP Configuration mode.
Command Mode
Router MSDP Configuration
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
mesh-group group_name
no mesh-group group_name
default mesh-group group_name
Parameters
group_name     name of mesh group.
Related Command
Example
These commands configure the MSDP peer connection to 10.1.1.14 as a member of the AREA-1 mesh group, then display members of mesh groups to which configured MSDP peers belong.
switch(config)#router msdp
switch(config-router-msdp)#peer 10.1.1.14
switch(config-router-msdp-peer-10.1.1.14)#mesh-group AREA-1
switch(config-router-msdp-peer-10.1.1.14)#show msdp mesh-group
Mesh Group: AREA-1
        10.1.1.14
Mesh Group: tier_01
        10.24.18.13
Mesh Group: tier_02
        10.26.101.18
switch(config-router-msdp-peer-10.1.1.14)#
These commands delete all configured connections from the AREA-1 mesh group.
switch(config)#router msdp
switch(config-router-msdp)#no mesh-group AREA-1
switch(config-router-msdp)#
 
originator-id local-interface
The originator-id local-interface command configures an originator ID to replace the rendezvous point (RP) address in source-address (SA) messages that it originates as an MSDP speaker.
SA messages that an MSDP speaker originates contain the speaker’s rendezvous point (RP) address, as configured through PIM statements and processes. An originator ID is an alternative IPv4 address that a speaker uses in place of its RP address when advertising SA messages. This command configures the switch to use the specified interface’s IP address as the RP address in SA messages that it originates.
The no originator-id local-interface and default originator-id local-interface commands configure the switch to use its RP address in SA messages that it sends by removing the originator-id local-interface command from running-config.
Command Mode
Router MSDP Configuration
Router MSDP VRF Configuration
Command Syntax
originator-id local-interface INTERFACE
no originator-id local-interface INTERFACE
default originator-id local-interface INTERFACE
Parameters
INTERFACE    Specifies the interface from which the IP address is derived. Options include:
ethernet e_num     Ethernet interface.
loopback l_num     Loopback interface.
management m_num     Management interface.
port-channel p_num     Port-Channel Interface.
vlan v_num     VLAN interface.
vxlan vx_num     VXLAN interface.
Example
This command configures the switch to use the IP address assigned to loopback 100 as the RP address in SA messages that it originates.
switch(config)#router msdp
switch(config-router-msdp)#originator-id local-interface loopback 100
peer
The peer command configures the specified address as an MSDP peer, enables MSDP on the switch if it was not previously enabled, and places the switch in Router MSDP Peer Configuration Mode for the specified peer.
The peering session with the device at the specified network is established over a TCP connection. The local-interface command canspecify an interface through which the TCP connection is established. When the local-interface command is not used to specify an interface, the connection is established through an interface determined by existing routing algorithms.
The no peer and default peer commands remove the specified MSDP peer configuration by deleting the corresponding peer command from running-config. MSDP is disabled when the last peer command is removed.
Command Mode
Router MSDP Configuration
Command Syntax
peer ip_address
Parameters
ip_address     IP address of the MSDP peer to be configured.
Example
These commands establish an MSDP peer relationship with the peer at 192.168.3.17 and place the switch in the Router MSDP Peer Configuration Mode for that peer.
switch(config)#router msdp
switch(config-router-msdp)#peer 192.168.3.17
switch(config-router-msdp-peer-192.168.3.17)#
 
router msdp
The router msdp command places the switch in the router MSDP configuration mode, and allows to configure the global IP configuration commands and VRF commands in this mode.
The no router msdp and default router msdp commands removes the corresponding router msdp command from running-config.
Command Mode
Global Configuration
Command Syntax
router msdp
no router msdp
default router msdp
Example
This command places the switch in the router MSDP configuration mode.
switch(config)#router msdp
switch(config-router-msdp)#
Related Commands
peer
sa-filter in
The sa-filter in command assigns an IP access control list (ACL) as a filter for inbound Source-Active (SA) messages from the configuration-mode MSDP peer connection. The switch only accepts SA messages from the peer that are accepted by the assigned ACL. The switch accepts all SA messages from the peer when an ACL is not assigned as an inbound filter.
Only one ACL can be assigned as an inbound filter to an MSDP peer. Any subsequent sa-filter in commands for the peer replace the existing command.
The no sa-filter in and default sa-filter in commands remove the ACL assignment as an inbound filter by removing the corresponding sa-filter in command from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
sa-filter in list list_name
no sa-filter in
default sa-filter in
Parameters
peer_id     MSDP peer address (IPv4 address).
list_name     name of ACL that filters SA messages.
Related Command
Guideline
The command accepts standard and extended ACLs. The address field in a standard ACL filters an SA message on its group address.
Example
These commands create an IP ACL named LIST-IN as the inbound SA message filter for the MSDP peer connection to 10.4.4.12. The ACL permits SAs from the multicast group 239.14.4.2/28.
switch(config)#ip access-list LIST-IN
switch(config-acl-LIST-IN)#permit ip any 239.14.4.2/28
switch(config-acl-LIST-IN)#exit
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#sa-filter in list LIST-IN
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Connection status:
   State: Listen
   Connection Source: Loopback100 (10.6.8.6)
SA Filtering:
Input Filter: LIST-IN
sa-filter out
The sa-filter out command assigns an IP access control list (ACL) as a filter for outbound Source-Active (SA) messages to the configuration-mode MSDP peer connection, after which the switch only sends SA messages to the peer that are accepted by the assigned ACL. The switch sends all SA messages to the peer when an ACL is not assigned as an output filter to the peer.
Only one ACL can be assigned as an outbound filter to an MSDP peer. Any subsequent sa-filter out commands for the peer replace the existing command.
The no sa-filter out and default sa-filter out commands remove the ACL assignment as an outbound filter by removing the corresponding sa-filter out command from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
sa-filter out list list_name
no sa-filter out
default sa-filter out
Parameters
peer_id     MSDP peer address (IPv4 address).
list_name     name of ACL that filters SA messages.
Related Commands
sa-filter in assigns an IP ACL to filter inbound SA messages from the MSDP peer being configured.
Guidelines
The command accepts standard and extended ACLs. The address field in a standard ACLs filters an SA message on its group address.
Example
These commands assign the IP ACL named LIST-OUT as the outbound SA message filter for the MSDP peer connection to 10.4.4.12.
switch(config)#router msdp
switch(config-router-msdp)#ip access-list LIST-OUT
switch(config-acl-LIST-OUT)#permit ip any  239.14.4.2/28
switch(config-acl-LIST-OUT)#exit
switch(config)#router msdp
switch(config-router-msdp)#peer 10.4.4.12
switch(config-router-msdp-peer-10.4.4.12)#sa-filter out list LIST-OUT
switch(config-router-msdp-peer-10.4.4.12)#show ip msdp peer
MSDP Peer 10.4.4.12
Connection status:
   State: Listen
   Connection Source: Loopback100 ( 10.6.8.6 )
SA Filtering:
Output Filter: LIST-OUT
switch(config-router-msdp-peer-10.4.4.12)#
 
 
 
sa-limit
The sa-limit command specifies the maximum number of Source-Active messages from a specified MSDP peer that the switch allows in the SA cache. SA messages have an expiration period of 90 seconds, during which time they remain in the SA cache. The switch does not accept SA messages from a peer after the peer’s SA limit is reached. By default, The limit to the number of SA messages that the switch can store from a specified peer is 40000, by default.
The no sa-limit and default sa-limit commands restore the SA limit of 40000 for the specified MSDP peer by removing the corresponding sa-limit statement from running-config.
Command Mode
Router MSDP Peer Configuration
Router MSDP Peer VRF Configuration
Command Syntax
sa-limit quantity
no sa-limit
default sa-limit
Parameters
peer_id     MSDP peer (IPv4 address).
quantity     maximum number of SA messages that the switch can store. Value ranges from 0 to 40000.
Example
This command sets the SA limit of 500 for the MSDP peer at 10.1.1.5
switch(config)#router msdp
switch(config-router-msdp)#peer 10.1.1.5
switch(config-router-msdp-peer-10.1.1.5)#sa-limit 500
switch(config-router-msdp-peer-10.1.1.5)#
 
 
show ip msdp peer
The show ip msdp peer command displays information about specified MSDP peers. The command includes an optional parameter for displaying SAs accepted from the peer.
Command Mode
EXEC
Command Syntax
show ip msdp peer [PEER_ADDR] [SA_ACCEPT]
Parameters
PEER_ADDR     Peers for which command displays information.
<no parameter>     All peers configured on the switch.
ipv4_addr     Address of specified MSDP peer.
SA_ACCEPT     Command displays SAs accepted from the specified peers.
<no parameter>     Accepted SAs are not displayed.
accepted-sas     Accepted SAs are displayed.
Example
This command displays MSDP information concerning the peer located at 10.2.42.4, including SAs that the switch accepted from this peer.
switch(config)#show ip msdp peer 10.2.42.4 accepted-sas
MSDP Peer 10.2.42.4
Connection status:
  State: Up
  Connection Source: Loopback4 ( 10.2.43.4 )
SA Filtering:
Input Filter: allow-multicast-for-msdp
Output Filter: allow-multicast-for-msdp
SAs accepted:
(10.62.79.30, 234.1.4.2), RP 10.2.42.4
(10.61.79.29, 234.1.4.1), RP 10.2.42.4
(10.62.79.30, 234.1.4.1), RP 10.2.42.4
show ip msdp pim sa-cache
The show ip msdp pim sa-cache command displays the SA cache for the local PIM domain configured on the switch. An SA cache is a table of Source-Active messages that are generated or accepted by the PIM domain.
Command Mode
EXEC
Command Syntax
show ip msdp pim sa-cache
Example
This command displays the SA cache for the local PIM domain.
switch(config)#show ip msdp pim sa-cache
MSDP Source Active Messages for local Pim RP
(10.51.71.23, 234.1.4.1), RP 10.2.43.4
(10.20.91.26, 234.1.4.1), RP 10.2.43.4
(10.51.71.23, 234.1.4.2), RP 10.2.43.4
(10.20.91.21, 234.1.4.1), RP 10.2.43.4
(10.51.79.23, 234.1.4.1), RP 10.2.43.4
(10.20.91.24, 234.1.4.2), RP 10.2.43.4
(10.51.79.23, 234.1.4.2), RP 10.2.43.4
(10.20.91.21, 234.1.4.2), RP 10.2.43.4
(10.20.91.26, 234.1.4.2), RP 10.2.43.4
(10.20.91.24, 234.1.4.1), RP 10.2.43.4
 
show ip msdp sa-cache
The show ip msdp sa-cache command displays contents of the Source-Active (SA) message cache. The command provides these filter options for displaying partial cache contents:
multicast group address: multicast group
source address and group address
The command can also display unexpired SAs that were rejected by ACL filters or cache limit exceeded conditions.
Command Mode
EXEC
Command Syntax
show ip msdp sa-cache [ADDRESS_FILTER] [CONTENTS]
Parameters
ADDRESS_FILTER     IPv4 address used to filter SA messages.
<no parameter>     All SA messages.
grp_addr     Multicast group address (IPv4 address).
src_addr     grp_addr    Source and multicast group addresses (two IPv4 addresses).
grp_addr must be a valid multicast address.
CONTENTS     type of SAs that the command displays.
<no parameter>     Displays contents of SA Cache.
rejected     Displays rejected SAs in addition to the SA cache contents.
Example
This command displays the contents of the SA message cache.
switch(config)#show ip msdp sa-cache
MSDP Source Active Cache
(10.61.71.29, 234.1.4.2), RP 10.5.29.4, heard from 10.5.29.4
(10.51.71.23, 234.1.4.1), RP 10.5.29.4, heard from 10.5.29.4
(10.61.79.29, 234.1.4.2), RP 10.5.29.4, heard from 10.5.29.4
(10.53.71.27, 234.1.4.2), RP 10.3.25.4, heard from 10.3.25.4
(10.10.101.24, 234.1.4.1), RP 10.2.44.4, heard from 10.2.44.4
(10.10.151.22, 234.1.4.2), RP 10.1.12.4, heard from 10.1.12.4
(10.61.71.29, 234.1.4.1), RP 10.5.29.4, heard from 10.5.29.4
(10.20.91.21, 234.1.4.1), RP 10.2.44.4, heard from 10.2.44.4
(10.61.79.29, 234.1.4.1), RP 10.2.42.4, heard from 10.2.42.4
(10.53.79.27, 234.1.4.2), RP 10.3.25.4, heard from 10.3.25.4
(10.10.151.28, 234.1.4.2), RP 10.3.25.4, heard from 10.3.25.4
(10.52.79.25, 234.1.4.2), RP 10.2.44.4, heard from 10.2.44.4
(10.52.71.25, 234.1.4.2), RP 10.2.44.4, heard from 10.2.44.4
(10.20.91.24, 234.1.4.1), RP 10.5.29.4, heard from 10.5.29.4
(10.10.151.22, 234.1.4.1), RP 10.1.12.4, heard from 10.1.12.4
show ip msdp sanity
The show ip msdp sanity command performs a consistency check between the multicast routing table and the MSDP Source-Address (SA) caches. When the command detects inconsistencies, it displays the cache entries that are not in the table.
Command Mode
EXEC
Command Syntax
show ip msdp sanity
Examples
This command displays a sanity check that detects no inconsistencies between the SA cache and the multicast routing table.
switch(config)#show ip msdp sanity
PIM SA cache entries not in the MRT
Msdp-learnt MRT entries not in the SA cache
SA cache entries not in the MRT
May-Notify-MSDP entries not in the PIM SA cache
(need not be an error condition)
 
This command displays inconsistencies between the SA cache and the multicast routing table.
switch(config)#show ip msdp sanity
PIM SA cache entries not in the MRT
Msdp-learnt MRT entries not in the SA cache
SA cache entries not in the MRT
(192.168.3.8, 224.1.154.1)
(192.168.3.35, 224.1.167.1)
(192.168.3.16, 224.1.226.1)
(192.168.3.19, 224.1.246.1)
(192.168.3.17, 224.1.204.1)
(192.168.3.12, 224.1.182.1)
(192.168.3.33, 224.1.150.1)
(192.168.3.26, 224.1.198.1)
(192.168.3.33, 224.1.195.1)
(192.168.3.4, 224.1.246.1)
(192.168.3.37, 224.1.188.1)
(192.168.3.12, 224.1.245.1)
(192.168.3.31, 224.1.206.1)
(192.168.3.35, 224.1.178.1)
(192.168.3.6, 224.1.155.1)
May-Notify-MSDP entries not in the PIM SA cache
(need not be an error condition)
4.1), RP 10.2.42.4
show ip msdp summary
The show ip msdp summary command displays a list of peer addresses, the operational status of the peer, and the number of Source-Active messages in the SA cache from that peer.
Command Mode
EXEC
Command Syntax
show ip msdp summary
Example
This command displays the configured peers, the status of the peers, and the number of SA message received from those peers.
switch(config)#show ip msdp summary
MSDP Peer Status Summary
Peer Address      State   SA Count
192.168.3.18      Up      0        
192.168.3.16      Up      0        
192.168.3.37      Listen  0        
192.168.3.46      Up      0        
192.168.3.47      Up      0
show msdp mesh-group
The show msdp mesh-group command displays the mesh group membership of MSDP peers that are configured on the switch. An MSDP mesh group is a network of MSDP speakers where each speaker is directly connected to every other speaker. The switch does not forward Source-Active (SA) messages that it receives from a mesh group peer to other peers of the same group.
Command Mode
EXEC
Command Syntax
show msdp mesh-group
Related Command
mesh-group configures the MSDP peer connection as an MSDP mesh group member.
Example
This command displays the mesh group membership of configured MSDP peers.
switch(config)#show msdp mesh-group
Mesh Group: tier_01
        10.24.18.13
Mesh Group: tier_02
        10.26.101.18
show msdp rpf-peer
The show msdp rpf-peer command displays MSDP information for the peer from which the switch accepts SA messages for a specified rendezvous point (RP).
The switch examines the BGP routing table to determine the next hop peer toward the originating RP of an SA message. This next hop peer is the reverse path forwarding (RPF) peer. Because the switch receives SA messages from the RPF peer, it forwards the message to all other MSDP peers. The switch rejects identical SA messages that it receives from a non-RPF peer.
Command Mode
EXEC
Command Syntax
show msdp rpf-peer rp_addr
Parameter
rp_addr     PIM RP IPv4 address.
Example
This command displays MSDP information for the peer from which the switch accepts SA messages for the RP at 10.5.29.4.
switch(config)#show msdp rpf-peer 10.5.29.4
Rpf Peer is 10.5.29.4 for RP 10.5.29.4