
42
Configure IGMP snooping proxying on Switch A, enabling the switch to forward IGMP reports and leave
messages on behalf of attached hosts and to respond to IGMP queries from Router A and forward the
queries to the hosts on behalf of Router A.
Figure 16 Network diagram for IGMP snooping proxying configuration
Source
Router A
IGMP querier
Switch A
Proxy & Querier
Receiver
Host B
Host A
Host C
1.1.1.1/24
Eth1/0/4
Eth1/0/2
Eth1/0/3
Eth1/0/1
Eth1/0/1
10.1.1.1/24
Eth1/0/2
1.1.1.2/24
Receiver
Configuration procedure
1. Configure IP addresses for interfaces
Configure an IP address and subnet mask for each interface according to Figure 16. T
he configuration
steps are omitted here.
2. Configure Router A
# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on Ethernet 1/0/1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] igmp enable
[RouterA-Ethernet1/0/1] pim dm
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim dm
[RouterA-Ethernet1/0/2] quit
3. Configure Switch A
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign ports Ethernet 1/0/1 through Ethernet 1/0/4 to this VLAN, and enable
IGMP snooping and IGMP snooping proxying in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/4
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] igmp-snooping proxying enable
Komentarze do niniejszej Instrukcji