1-19
IGMP Snooping Configuration Examples
Configuring Group Policy and Simulated Joining
Network requirements
z
As shown in
Figure 1-3
, Router A connects to the multicast source through GigabitEthernet 1/0/2
and to Switch A through GigabitEthernet 1/0/1.
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
1/0/3 and GigabitEthernet 1/0/4 of Switch A even if Host A and Host B accidentally, temporarily
stop receiving multicast data.
Network diagram
Figure 1-3
Network diagram for group policy simulated joining configuration
Configuration procedure
1) Configure
IP
addresses
Configure an IP address and subnet mask for each interface as per
Figure 1-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 GigabitEthernet
1/0/1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] igmp enable
[RouterA-GigabitEthernet1/0/1] pim dm
[RouterA-GigabitEthernet1/0/1] quit
[RouterA] interface gigabitethernet 1/0/2