1-10Port-Based Multicast VLAN ConfigurationNetwork requirementsz As shown in Figure 1-5, Router A connects to a multicast source (Source) through GigabitEthernet1/0/1, and to Switch A through GigabitEthernet 1/0/2.z IGMPv2 is required on Router A. IGMPv2 Snooping is required on Switch A. Router A acts as theIGMP querier.z Switch A’s GigabitEthernet 1/0/1 belongs to VLAN 10, GigabitEthernet 1/0/2 throughGigabitEthernet 1/0/4 belong to VLAN 2 through VLAN 4 respectively, and Host A through Host Care attached to GigabitEthernet 1/0/2 through GigabitEthernet1/0/4 of Switch A respectively.z The multicast source sends multicast data to multicast group 224.1.1.1. Host A, Host B, and Host Care receivers of the multicast group.z Configure the port-based multicast VLAN feature so that Router A just sends multicast data toSwitch A through the multicast VLAN and Switch A forwards the multicast data to the receivers thatbelong to different user VLANs.Network diagramFigure 1-5 Network diagram for port-based multicast VLAN configurationSourceReceiverHost AVLAN 2GE1/0/2GE1/0/3GE1/0/4Switch AIGMP querierRouter AGE1/0/11.1.1.2/24GE1/0/210.110.1.1/241.1.1.1/24ReceiverHost BVLAN 3ReceiverHost CVLAN 4GE1/0/1Configuration procedure1) Configure IP addressesConfigure the IP address and subnet mask for each interface as per Figure 1-5. The detailedconfiguration steps are omitted here.2) Configure Router A# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on the host-sideinterface GigabitEthernet 1/0/2. system-view[RouterA] multicast routing-enable[RouterA] interface gigabitethernet 1/0/1[RouterA-GigabitEthernet1/0/1] pim dm