Step
time for global downstream
ports and global router ports
on the master device after a
master/subordinate
switchover.
Displaying and maintaining PIM snooping
Execute display commands in any view and reset commands in user view.
Task
Display PIM snooping neighbor information.
Display PIM snooping router port information.
Display PIM snooping routing entries.
Display statistics for the PIM messages learned
through PIM snooping.
Clear statistics for the PIM messages learned
through PIM snooping.
PIM snooping configuration example
Network requirements
As shown in
•
OSPF runs on the network.
•
Source 1 and Source 2 send multicast data to multicast groups 224.1.1.1 and 225.1.1.1,
respectively.
•
Receiver 1 and Receiver 2 belong to multicast groups 224.1.1.1 and 225.1.1.1, respectively.
•
Router C and Router D run IGMP on GigabitEthernet 1/0/1. Router A, Router B, Router C, and
Router D run PIM-SM.
•
GigabitEthernet 1/0/2 on Router A acts as a C-BSR and a C-RP.
To make sure Switch A forwards PIM protocol packets and multicast data packets only to the routers
that are connected to receivers, perform the following tasks:
•
On Switch A, configure IGMP snooping and PIM snooping.
•
On all PIM routers connected to Switch A, set the maximum size of a join or prune message to
1400 bytes, which is less than the path MTU.
Command
graceful-restart
join-aging-time seconds
Figure
19:
Command
display pim-snooping neighbor [ vlan vlan-id ]
[ slot slot-number ] [ verbose ]
display pim-snooping router-port [ vlan vlan-id ]
[ slot slot-number ] [ verbose ]
display pim-snooping routing-table [ vlan vlan-id ]
[ slot slot-number ] [ verbose ]
display pim-snooping statistics
reset pim-snooping statistics
46
Remarks
A global downstream port or a global
router port is a Layer 2 aggregate
interface that acts as a downstream
port or router port.