Operation Manual – Multicast
H3C S3100 Series Ethernet Switches Chapter 2 IGMP Snooping Configuration
2-19
II. Network diagram
Multicast packets
Source
Router A Switch A
Receiver
Receiver
Host B
Host A
Host C
1.1.1.1/24
Eth1/0/4
Eth1/0/2
Eth1/0/3
IGMP querier
Eth1/0/1
Eth1/0/1
10.1.1.1/24
Eth1/0/2
1.1.1.2/24
VLAN100
Figure 2-3 Network diagram for IGMP Snooping configuration
III. Configuration procedure
1) Configure the IP address of each interface
Configure an IP address and subnet mask for each interface as per
Figure 2-3. The
detailed configuration steps are omitted.
2) Configure Router A
# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on
Ethernet1/0/1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface Ethernet 1/0/1
[RouterA-Ethernet1/0/1] igmp enable
[RouterA-Ethernet1/0/1] quit
[RouterA] interface Ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim dm
[RouterA-Ethernet1/0/2] quit
3) Configure Switch A
# Enable IGMP Snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 100, assign Ethernet1/0/1 through Ethernet1/0/4 to this VLAN, and
enable IGMP Snooping in the VLAN.
[SwitchA] vlan 100