36
Task
Command
vsi-name
}
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(for
VLANs)
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 HundredGigE 1/0/3 and HundredGigE 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 14 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
[RouterA-mrib] quit
# Enable IGMP on HundredGigE 1/0/1.
Source
Router A
IGMP querier
Switch A
Receiver
Receiver
Host A
Host B
Host C
1.1.1.1/24
HGE1/0/4
HGE1/0/2
HGE1/0/3
HGE1/0/1
HGE1/0/1
10.1.1.1/24
HGE1/0/2
1.1.1.2/24
VLAN 100