Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 59
2-27
z
IGMPv2 is required on Router A, IGMP snooping version 2 is required on Switch A, and
Router A will act as the IGMP querier on the subnet.
z
It is required that the receivers, Host A and Host B, attached to Switch A can receive
multicast traffic addressed to multicast group 224.1.1.1 only.
z
It is required that multicast data for group 224.1.1.1 can be forwarded through
GigabitEthernet 2/0/3 and GigabitEthernet 2/0/4 of Switch A even if Host A and Host B
accidentally, temporarily stop receiving multicast data.
Figure 2-4 Network diagram for group policy simulated joining configuration
Source
Router A
Switch A
Receiver
Receiver
Host B
Host A
Host C
1.1.1.1/24
GE2/0/4
GE2/0/2
GE2/0/3
IGMP querier
GE2/0/1
GE2/0/1
10.1.1.1/24
GE2/0/2
1.1.1.2/24
Configuration procedure
1) Configure
IP
addresses
Configure an IP address and subnet mask for each interface as per
. The detailed
configuration steps are omitted.
2) Configure Router A
# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on
GigabitEthernet 2/0/1.
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet 2/0/1
[RouterA-Gigabitethernet2/0/1] igmp enable
[RouterA-Gigabitethernet2/0/1] pim dm
[RouterA-Gigabitethernet2/0/1] quit
[RouterA] interface gigabitethernet 2/0/2
[RouterA-Gigabitethernet2/0/2] pim dm
[RouterA-Gigabitethernet2/0/2] quit
3) Configure Switch A
# Enable IGMP snooping globally.
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign GigabitEthernet 2/0/1 through GigabitEthernet 2/0/4 to this VLAN,
and enable IGMP snooping and the function of dropping unknown multicast traffic in the VLAN.