1-19IGMP Snooping Configuration ExamplesConfiguring Group Policy and Simulated JoiningNetwork requirementsz As shown in Figure 1-3, Router A connects to the multicast source through GigabitEthernet 1/0/2and 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 Awill 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 multicasttraffic 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 GigabitEthernet1/0/3 and GigabitEthernet 1/0/4 of Switch A even if Host A and Host B accidentally, temporarilystop receiving multicast data.Network diagramFigure 1-3 Network diagram for group policy simulated joining configurationConfiguration procedure1) Configure IP addressesConfigure an IP address and subnet mask for each interface as per Figure 1-3. The detailedconfiguration steps are omitted.2) Configure Router A# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on GigabitEthernet1/0/1. 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