Figure 33 Network diagram for basic IGMP functions configuration
Configuration procedure
Configure IP addresses and unicast routing
1.
Configure the IP address and subnet mask of each interface according to
configuration steps are omitted here.
Configure the OSPF protocol for interoperation on the PIM network. Ensure the network-layer
interoperation on the PIM network and dynamic update of routing information among the switches
through a unicast routing protocol. The detailed configuration steps are omitted here.
Enable IP multicast routing, and enable PIM-DM and IGMP
2.
# Enable IP multicast routing on Switch A, enable PIM-DM on each interface, and enable IGMP on
VLAN-interface 100.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] pim dm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim dm
[SwitchA-Vlan-interface101] quit
# Enable IP multicast routing on Switch B, enable PIM-DM on each interface, and enable IGMP on
VLAN-interface 200.
<SwitchB> system-view
[SwitchB] multicast routing-enable
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] igmp enable
[SwitchB-Vlan-interface200] pim dm
103
Figure
33. The detailed