58
switchover.
8.
(Optional.) Set the aging
time for global downstream
ports and global router ports
on the master device after a
master/subordinate
switchover.
pim-snooping
graceful-restart
join-aging-time
seconds
The default setting is 210 seconds.
A global downstream port or a global
router port is a Layer 2 aggregate
interface, AC, N-PW, or U-PW that
acts as a downstream port or router
port.
Displaying and maintaining PIM snooping
Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display PIM snooping neighbor information.
display pim-snooping neighbor
[
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
] [
verbose
]
Display PIM snooping router port information.
display pim-snooping router-port
[
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
] [
verbose
]
Display PIM snooping routing entries.
display pim-snooping routing-table
[
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
] [
verbose
]
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 (for VLANs)
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 HundredGigE 1/0/1. Router A, Router B, Router C, and
Router D run PIM-SM.
•
HundredGigE 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.