Igmp snooping querier configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S3100V2 Series Switches User Manual
Page 48

40
IGMP snooping querier configuration example
Network requirements
•
As shown in
, in a Layer 2–only network environment, two multicast sources Source 1 and
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 are running IGMPv2, and all the switches need to run IGMPv2 snooping. Switch 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, configure all the switches to drop
unknown multicast data packets.
•
Because a switch does not enlist a port that has heard an IGMP query with the default source IP
address of 0.0.0.0 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 15 Network diagram for IGMP snooping querier configuration
Switch D
Switch A
Querier
Switch B
Switch C
Source 1
192.168.1.10/24
Host D
Receiver
Eth1/0/2
Eth1/0/1
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/3
Eth1/0/1
Eth1/0/2
Eth1/0/1
Eth1/0/3
Eth1/0/2
Source 2
192.168.1.20/24
Host A
Host B
Host C
Receiver
Receiver
Receiver
Eth1/0/4
Configuration procedure
1.
Configure switch A
# Enable IGMP snooping and the function of dropping unknown multicast traffic globally.
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] drop-unknown
[SwitchA-igmp-snooping] quit
# Create VLAN 100 and assign Ethernet 1/0/1 through Ethernet 1/0/3 to the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3
# Enable IGMP snooping.
[SwitchA-vlan100] igmp-snooping enable
# Enable the IGMP snooping querier function in VLAN 100
[SwitchA-vlan100] igmp-snooping querier