show ip msdp sa-cache

Displays the source actives (SA) in the Multicast Source Discovery Protocol (MSDP) cache.
Syntax
show ip msdp [ vrf vrf-name ] sa-cache [ counts ] [source-address group-address | peer peer-address { in | out } | peer-as as-number | orig-rp rp-address | rejected [ rpf | rp-filter | sg-filter ] | self-originated ]
Parameters
vrf vrf-name
Displays information for a specific VRF instance.
counts
Displays only the count of entries.
source-address
Specifies the source address of the SA entry.
group-address
Specifies the group address of the SA entry.
peer-as as-number
Specifies the BGP any-source (AS) number of the forwarding peer.
orig-rp rp-address
Displays information for the originating reverse-path (RP) address.
peer peer-address
Displays information for the peer address.
in
Displays SA entries received from this peer.
out
Displays SA entries advertised to this peer.
rejected
Displays the rejected SAs.
rpf
Displays the RPF failure information.
rp-filter
Displays the RP filter failure information.
sg-filter
Displays the SG failure information.
self-originated
Displays the self-originated SAs.
Modes

User EXEC mode

The show ip msdp sa-cache command displays the following information:

Output Field

Description

Total

The number of entries the cache currently contains.

Index

The cache entry number.

RP

The RP through which receivers can access the group traffic from the source

SourceAddr

The IP address of the multicast source.

GroupAddr

The IP multicast group to which the source is sending information.

Orig Peer

The peer from which this source-active entry was received.

Age

The number of seconds the entry has been in the cache

Examples

This example shows the source actives in the MSDP cache:

device> show ip msdp vrf my_vrf sa-cache
 Total of 10 SA cache entries
Index  RP address (Source, Group)          Orig Peer  Age
1      2.2.2.2    (192.6.1.10, 227.1.1.1)  192.1.1.2  0 
2      2.2.2.2    (192.6.1.10, 227.1.1.2)  192.1.1.2  0 
3      2.2.2.2    (192.6.1.10, 227.1.1.3)  192.1.1.2  0 
4      2.2.2.2    (192.6.1.10, 227.1.1.4)  192.1.1.2  0 
5      2.2.2.2    (192.6.1.10, 227.1.1.5)  192.1.1.2  0 
6      2.2.2.2    (192.6.1.10, 227.1.1.6)  192.1.1.2  0 
7      2.2.2.2    (192.6.1.10, 227.1.1.7)  192.1.1.2  0 
8      2.2.2.2    (192.6.1.10, 227.1.1.8)  192.1.1.2  0 
9      2.2.2.2    (192.6.1.10, 227.1.1.9)  192.1.1.2  0 
10     2.2.2.2    (192.6.1.10, 227.1.1.10) 192.1.1.2  0 	  

The following example configures to display only the entries matching a specific source.

device> show ip msdp sa-cache 1.1.1.1 

The following example configures to display only the entries matching a specific group.

device> show ip msdp sa-cache 239.1.1.1

The following example configures to display only the SA cache entries that are received from peers in the BGP AS Number 100.

device> show ip msdp sa-cache 100

The following example configures to display only the SA cache entries that are originated by the RP 10.1.1.1.

device> show ip msdp sa-cache orig-rp 10.1.1.1

The following example configures to display only the rejected SAs. You can further narrow down by quoting the reason for rejection.

device> show ip msdp sa-cache rejected

The following example configures to display the self-originated SA.

device> show ip msdp sa-cache self-originated