36
Displaying and maintaining PIM snooping
Execute display commands in any view and reset commands in user view.
Task Command
Display information about PIM snooping neighbors.
display pim-snooping neighbor [ vlan vlan-id ] [ slot
slot-number ] [ verbose ]
Display PIM snooping routing entries.
display pim-snooping routing-table [ vlan vlan-id ]
[ slot slot-number ] [ verbose ]
Display information about PIM snooping router ports.
display pim-snooping router-port [ vlan vlan-id ] [ slot
slot-number ]
Display statistics for the PIM messages learned
through PIM snooping.
display pim-snooping statistics
Clear statistics for the PIM messages learned through
PIM snooping.
reset pim-snooping statistics
PIM snooping configuration example
Network requirements
As shown in Figure 16 :
• Source 1 sends multicast data to multicast group 224.1.1.1, and Source 2 sends multicast data to
m u l t i c a s t g r o u p 2 2 5 .1.1.1. R e c e i v e r 1 b e l o n g s t o m u l t icast group 224.1.1.1, and Receiver 2 belongs to
m u l t i c a s t g r o u p 2 2 5 .1.1.1.
• Router C and Router D run IGMP on Ten-GigabitEthernet 1/1/5. Router A, Router B, Router C, and
Router D run PIM-SM.
• Ten-GigabitEthernet 1/1/6 on Router A acts as a C-BSR and C-RP.
Configure IGMP snooping and PIM snooping on Switch A so that Switch A forwards PIM messages and
multicast data to only the routers that are interested in the multicast data.
Figure 16 Network diagram