43
IGMP snooping proxying configuration example (for VLANs)
Network requirements
, Router A runs IGMPv2 and acts as the IGMP querier. Switch A runs IGMPv2
snooping. Configure IGMP snooping proxying so that Switch A can perform the following actions:
•
Forward IGMP report and leave messages to Router A.
•
Respond to IGMP queries sent by Router A and forward the queries to downstream hosts.
Figure 17 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure Router A:
# Enable IP multicast routing.
<RouterA> system-view
[RouterA] multicast routing
[RouterA-mrib] quit
# Enable IGMP and PIM-DM on HundredGigE 1/0/1.
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] igmp enable
[RouterA-HundredGigE1/0/1] pim dm
[RouterA-HundredGigE1/0/1] quit
# Enable PIM-DM on HundredGigE 1/0/2.
[RouterA] interface hundredgige 1/0/2
[RouterA-HundredGigE1/0/2] pim dm
[RouterA-HundredGigE1/0/2] quit
3.
Configure Switch A:
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
Source
Router A
IGMP querier
Switch A
Proxy
Receiver
Receiver
Host A
Host B
Host C
1.1.1.1/24
HGE1/0/4
HGE1/0/2
HGE1/0/3
HGE1/0/1
HGE1/0/1
10.1.1.1/24
HGE1/0/2
1.1.1.2/24
VLAN 100