55
Task Command
Remarks
exclude
|
include
}
regular-expression
]
Display PIM snooping routing
entries.
display pim-snooping routing-table
[ [
vlan
vlan-id
] [
slot
slot-number
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display statistics for PIM
messages learned through PIM
snooping.
display pim-snooping statistics
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Clear statistics for PIM
messages learned through PIM
snooping.
reset pim-snooping statistics
Available in user view.
PIM snooping configuration example (in a VLAN)
Network requirements
As shown in
:
•
Source 1 sends multicast data to multicast group 224.1.1.1, and Source 2 sends multicast data
to multicast group 225.1.1.1.
•
Receiver 1 belongs to multicast group 224.1.1.1, and Receiver 2 belongs to multicast group
225.1.1.1.
•
Router C and Router D run IGMP on GigabitEthernet 1/0/1.
Router A, Router B, Router C, and Router D run PIM-SM, and GigabitEthernet 1/0/2 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 20 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
On Router A. enable IP multicast routing, enable PIM-SM on each interface, and configure
interface GigabitEthernet 1/0/2 as a C-BSR and C-RP.
<RouterA> system-view
Source 1
Receiver 1
Receiver 2
Source 2
Switch A
Router A
Router B
Router D
Router C
GE1/0/1
1.1.1.1/24
1.1.1.100/24
2.1.1.100/24
GE1/0/2
10.1.1.1/24
GE1/0/1
2.1.1.1/24
GE1/0/1
3.1.1.1/24
GE1/0/1
4.1.1.1/24
3.1.1.100/24
4.1.1.100/24
GE1/0/2
10.1.1.2/24
GE1/0/2
10.1.1.3/24
GE1/0/2
10.1.1.4/24
GE1/0/1
GE1/0/2
GE1/0/3
GE1/0/4