IGMP proxying configuration example
Network requirements
As shown in Figure 40:
PIM-DM runs on the core network.
Host A and Host C on the stub network receive VOD information sent to multicast group 224.1.1.1.
Configure the IGMP proxying feature on Switch B so that Switch B can maintain group memberships and forward multicast traffic without running PIM-DM.
Figure 40: Network diagram
Configuration procedure
Assign an IP address and subnet mask to each interface, as shown in Figure 40. (Details not shown.)
Enable IP multicast routing, PIM-DM, IGMP, and IGMP proxying:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view [SwitchA] multicast routing [SwitchA-mrib] quit
# Enable PIM-DM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] pim dm [SwitchA-Vlan-interface101] quit
# Enable IGMP on VLAN-interface 100.
[SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] igmp enable [SwitchA-Vlan-interface100] quit
# On Switch B, enable IP multicast routing.
<SwitchB> system-view [SwitchB] multicast routing [SwitchB-mrib] quit
# Enable IGMP proxying on VLAN-interface 100.
[SwitchB] interface vlan-interface 100 [SwitchB-Vlan-interface100] igmp proxy enable [SwitchB-Vlan-interface100] quit
# Enable IGMP on VLAN-interface 200.
[SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface200] igmp enable [SwitchB-Vlan-interface200] quit
Verifying the configuration
# Display multicast group membership information maintained by the IGMP proxy on Switch B.
[SwitchB] display igmp proxy group IGMP proxy group records in total: 1 Vlan-interface100(192.168.1.2): IGMP proxy group records in total: 1 Group address Member state Expires 224.1.1.1 Delay 00:00:02