IGMP Configuration Example 625
Network diagram
Figure 186 Network diagram for IGMP configuration
Configuration procedure
1 Configure the IP addresses of the switch interfaces and configure a unicast routing
protocol
Configure the IP address and subnet mask of each interface as per Figure 186. The
detailed configuration steps are omitted here.
Configure the OSPF protocol for interoperation among the switches. Ensure the
network-layer interoperation among Switch A, Switch B and Switch C 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.
2 Enable IP multicast routing, and enable IGMP on the host-side interfaces
# Enable IP multicast routing on Switch A, and enable IGMP (version 3) on
VLAN-interface 100.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] igmp version 3
[SwitchA-Vlan-interface100] quit
# Enable IP multicast routing on Switch B, and enable IGMP (version 2) on
VLAN-interface 200.
<SwitchB> system-view
[SwitchB] multicast routing-enable
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] igmp enable
[SwitchB-Vlan-interface200] igmp version 2
[SwitchB-Vlan-interface200] quit
Switch A
Switch B
Switch C
Querier
PIM network
Ethernet Ethernet
N1
N2
Receiver
Receiver
Host
Host B
Host C
Host D
Vlan-int100
10.110.1.1/24
Vlan-int200
10.110.2.1/24
Vlan-int200
10.110.2.2/24
Vlan-int101
Vlan-int201
Vlan-int202