
32
Task
Command
Clear Layer 2 multicast fast forwarding
entries (Distributed devices in IRF mode).
reset l2-multicast fast-forwarding cache
[
vlan
vlan-id
]
{ {
source-address
|
group-address
} * |
all
} [
chassis
chassis-number
slot
slot-number
]
Clear dynamic router port information.
reset igmp-snooping router-port
{
all
|
vlan
vlan-id
}
Clear statistics for IGMP messages and
PIMv2 hello messages learned through
IGMP snooping.
reset igmp-snooping statistics
IGMP snooping configuration examples
Group policy and simulated joining configuration example
Network requirements
, Router A runs IGMPv2 and acts as the IGMP querier. Switch A runs IGMPv2
snooping.
Configure a multicast group policy and simulated joining to meet the following requirements:
•
Host A and Host B receive only the multicast data addressed to multicast group 224.1.1.1.
Multicast data can be forwarded through GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 of
Switch A uninterruptedly, even though Host A and Host B fail to receive the multicast data.
•
Switch A will drop unknown multicast data instead of flooding it in VLAN 100.
Figure 12 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure Router A:
# Enable IP multicast routing.
<RouterA> system-view
[RouterA] multicast routing
Source
Router A
IGMP querier
Switch A
Receiver
Receiver
Host A
Host B
Host C
1.1.1.1/24
GE1/0/4
GE1/0/2
GE1/0/3
GE1/0/1
GE1/0/1
10.1.1.1/24
GE1/0/2
1.1.1.2/24
VLAN 100