Network diagram
Figure 186 Network diagram for IGMP configuration
PIM network
Vlan-int101
Switch A
Querier
Vlan-int201
Switch B
Vlan-int202
Switch C
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
Vlan -int100
10 .110 .1.1/24
Vlan -int200
10 .110 .2.1/24
Vlan -int200
10 .110 .2.2/24
IGMP Configuration Example
Receiver
Host A
N1
Host B
Receiver
Host C
N2
Host D
625