2-22Network diagramFigure 2-4 Network diagram for static port configurationSource1.1.1.1/24 Router AIGMP querierGE1/0/110.1.1.1/24GE1/0/21.1.1.2/24Switch ASwitch CSwitch BGE1/0/1GE1/0/2GE1/0/3GE1/0/1GE1/0/2GE1/0/1GE1/0/2Host CHost B Host AReceiverReceiverGE1/0/3GE1/0/4GE1/0/5Configuration procedure1) Configure IP addressesConfigure an IP address and subnet mask for each interface as per Figure 2-4. 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[RouterA-GigabitEthernet1/0/2] pim dm[RouterA-GigabitEthernet1/0/2] quit3) Configure Switch A# Enable IGMP Snooping globally. system-view[SwitchA] igmp-snooping[SwitchA-igmp-snooping] quit# Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to this VLAN, andenable IGMP Snooping in the VLAN.[SwitchA] vlan 100[SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3[SwitchA-vlan100] igmp-snooping enable