H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 446
44-16
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
GigabitEthernet1/0/1.
[RouterA] multicast routing-enable
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet1/0/1] igmp enable
[RouterA-GigabitEthernet1/0/1] quit
[RouterA] interface GigabitEthernet 1/0/2
[RouterA-GigabitEthernet1/0/2] pim dm
[RouterA-GigabitEthernet1/0/2] quit
3) Configure Switch A
# Enable IGMP Snooping globally.
[SwitchA] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 100, assign GigabitEthernet1/0/1 through GigabitEthernet1/0/4 to this VLAN, and
enable IGMP Snooping in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/4
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] quit
4) Verify the configuration
# View the detailed information of the multicast group in VLAN 100 on Switch A.
Total 1 IP Group(s).
Total 1 MAC Group(s).
Vlan(id):100.
Total 1 IP Group(s).
Total 1 MAC Group(s).
Static Router port(s):
Dynamic Router port(s):
GigabitEthernet1/0/1
IP group(s):the following ip group(s) match to one mac group.
IP group address: 224.1.1.1
Static host port(s):
Dynamic host port(s):
GigabitEthernet1/0/3 GigabitEthernet1/0/4
MAC group(s):
MAC group address: 0100-5e01-0101
Host port(s):GigabitEthernet1/0/3 GigabitEthernet1/0/4
As shown above, the multicast group 224.1.1.1 is established on Switch A, with the dynamic router port
GigabitEthernet1/0/1 and dynamic member ports GigabitEthernet1/0/3 and GigabitEthernet1/0/4. This
means that Host A and Host B have joined the multicast group 224.1.1.1.