IGMP snooping querier configuration example
Network requirements
•
As shown in
Source 2 send multicast data to multicast groups 224.1.1.1 and 225.1.1.1 respectively, Host A
and Host C are receivers of multicast group 224.1.1.1, and Host B and Host D are receivers of
multicast group 225.1.1.1.
All the receivers run IGMPv2, and all routers run IGMPv2 snooping. Router A, which is close to the
•
multicast sources, acts 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 switch does not enlist a port that has received 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 for IGMP snooping querier configuration
Procedure
Configure Router A
1.
# Enable IGMP snooping globally.
<RouterA> system-view
[RouterA] igmp-snooping
[RouterA-igmp-snooping] quit
# Create VLAN 100 and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the VLAN.
[RouterA] vlan 100
[RouterA-vlan100] port GigabitEthernet 1/0/1 to GigabitEthernet 1/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
Figure
16, in a Layer 2–only network environment, two multicast sources Source 1 and
38