R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Configuration Guide

Table Of Contents
39
IGMPv2 runs on all the receivers, and IGMPv2 snooping runs on all the routers. Router A, which is close
to the multicast sources, is chosen as the IGMP snooping querier.
To prevent flooding of unknown multicast traffic within the VLAN, be sure to configure all the routers to
drop unknown multicast data packets.
Because the SAP module does not enlist a port that has heard an IGMP query with a source IP address
of 0.0.0.0 (default) as a dynamic router port, configure a non-all-zero IP address as the source IP address
of IGMP queries to ensure normal creation of Layer 2 multicast forwarding entries.
Figure 16 Network diagram
Configuration procedure
1. Configure Router A:
# Enable IGMP snooping globally.
<RouterA> system-view
[RouterA] igmp-snooping
[RouterA-igmp-snooping] quit
# Create VLAN 100 and assign GigabitEthernet 2/0/1 through GigabitEthernet 2/0/3 to the
VLAN.
[RouterA] vlan 100
[RouterA-vlan100] port gigabitethernet 2/0/1 to gigabitethernet 2/0/3
# Enable IGMP snooping and the function of dropping unknown multicast traffic in VLAN 100.
[RouterA-vlan100] igmp-snooping enable
[RouterA-vlan100] igmp-snooping drop-unknown
# Enable the IGMP snooping querier function in VLAN 100
[RouterA-vlan100] igmp-snooping querier
# Set the source IP address of IGMP general queries and group-specific queries to 192.168.1.1
in VLAN 100.
[RouterA-vlan100] igmp-snooping general-query source-ip 192.168.1.1
[RouterA-vlan100] igmp-snooping special-query source-ip 192.168.1.1
[RouterA-vlan100] quit
2. Configure Router B: