1-25IGMP Snooping Configuration ExamplesGroup Policy and Simulated Joining Configuration ExampleNetwork requirementsz As shown in Figure 1-4, Router A connects to the multicast source through GigabitEthernet 2/0/2and to Switch A through GigabitEthernet 2/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 GigabitEthernet2/0/3 and GigabitEthernet 2/0/4 of Switch A even if Host A and Host B accidentally, temporarilystop receiving multicast data.Figure 1-4 Network diagram for group policy simulated joining configurationSourceRouter A Switch AReceiverReceiverHost BHost AHost C1.1.1.1/24GE2/0/4GE2/0/2GE2/0/3IGMP querierGE2/0/1GE2/0/110.1.1.1/24GE2/0/21.1.1.2/24Configuration procedure1) Configure IP addressesConfigure an IP address and subnet mask for each interface as per Figure 1-4. The detailedconfiguration steps are omitted.2) Configure Router A# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on GigabitEthernet2/0/1. system-view[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