93
IGMP configuration examples
This section provides examples of configuring IGMP on switches.
Basic IGMP features configuration example
Network requirements
As shown in
•
OSPF and PIM-DM run on the network.
•
VOD streams are sent to receiver hosts in multicast. Receiver hosts of different organizations
form stub networks N1 and N2. Host A and Host C are receiver hosts in N1 and N2,
respectively.
•
IGMPv2 runs between Switch A and N1, and between the other two switches and N2. Switch A
acts as the IGMP querier in N1. Switch B acts as the IGMP querier in N2 because it has a lower
IP address.
Configure the routers to meet the following requirements:
•
The hosts in N1 can join only multicast group 224.1.1.1.
•
The hosts in N2 can join any multicast groups.
Figure 35 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on the switches in the PIM-DM domain. (Details not shown.)
3.
Enable IP multicast routing, IGMP, and PIM-DM:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
Switch A
Switch B
Switch C
Querier
PIM-DM
Ethernet
Ethernet
N1
N2
Receiver
Receiver
Host A
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