Displaying and Maintaining MSDP 685
Displaying and 
Maintaining MSDP
MSDP Configuration 
Examples
Inter-AS Multicast
Configuration
Leveraging BGP Routes
Network requirements
■ There are two ASs in the network, AS 100 and AS 200 respectively. OSPF is 
running within each AS, and BGP is running between the two ASs.
■ PIM-SM 1 belongs to AS 100, while PIM-SM 2 and PIM-SM 3 belong to AS 
200.
■ Each PIM-SM domain has zero or one multicast source and receiver. OSPF runs 
within each domain to provide unicast routes.
■ It is required that the respective Loopback 0 of Switch B, Switch C and Switch E 
be configured as the C-BSR and C-RP of the respective PIM-SM domains.
■ It is required that an MSDP peering relationship be set up between Switch B 
and Switch C through EBGP, and between Switch C and Switch E through IBGP.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter MSDP view  msdp - 
Enable the SA message cache 
mechanism 
cache-sa-enable Optional
Enabled by default 
Configure the maximum 
number of SA messages the 
router can cache 
peer peer-address 
sa-cache-maximum sa-limit 
Optional
8192 by default
To do…  Use the command…  Remarks 
View the brief information of 
MSDP peers 
display msdp brief [ state { connect | 
down | listen | shutdown | up }] 
Available in any 
view 
View the detailed information 
about the status of MSDP 
peers 
display msdp peer-status 
[ peer-address ] 
Available in any 
view 
View the (S, G) entry 
information in the MSDP 
cache 
display msdp sa-cache [ group-address | 
source-address | as-number ] * 
Available in any 
view 
View the number of SA 
messages in the MSDP cache 
display msdp sa-count [ as-number ]  Available in any 
view 
Reset the TCP connection 
with an MSDP peer 
reset msdp peer [ peer-address ]  Available in user 
view 
Clear (S, G) entries in the 
MSDP cache 
reset msdp sa-cache [ group-address ]  Available in user 
view 
Clear all statistics information 
of an MSDP peer 
reset msdp statistics [ peer-address ]  Available in user 
view