IGMP Snooping Querier
Configuration
Host port(s):total 1 port.
GE1/0/2
MAC group(s):
MAC group address:0100-5e01-0101
Host port(s):total 1 port.
GE1/0/2
As shown above, GigabitEthernet 1/0/3 of Switch A has become a static router
port.
Network requirements
As shown in Figure 174, in a Layer-2-only network environment, Switch C is
■
connected to the multicast source (Source) through GigabitEthernet 1/0/3. At
least one receiver is attached to Switch B and Switch C respectively.
IGMPv2 is enabled on all the receivers. Switch A, Switch B, and Switch C run
■
IGMP Snooping. Switch A acts as the IGMP-Snooping querier.
Configure a non-all-zero IP address as the source IP address of IGMP queries to
■
ensure normal creation of multicast forwarding entries.
Network diagram
Figure 174 Network diagram for IGMP Snooping querier configuration
Switch B
GE 1/0/1
GE1/0/2
Receiver
Host A
Configuration procedure
1 Configure switch A
# Enable IGMP Snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100 and add GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to
VLAN 100.
[SwitchA] vlan 100
[SwitchA-vlan100] port GigabitEthernet 1/0/1 GigabitEthernet 1/0/2
# Enable IGMP Snooping in VLAN 100 and configure the IGMP-Snooping querier
feature.
IGMP Snooping Configuration Examples
(D) ( 00:03:23 )
Querier
GE1 /0/1
GE1 /0/2
Switch A
GE1/0/3
Receiver
Receiver
Host B
Host C
Switch C
GE1 /0/1
GE 1/0/2
GE1/0/3
Source
1.1.1 .1/24
575