IGMP Snooping Configuration Examples 575
Host port(s):total 1 port.
GE1/0/2 (D) ( 00:03:23 )
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.
IGMP Snooping Querier
Configuration
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
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.
Source
1.1.1.1/24
Host A
Receiver
Switch C
Switch A
Switch B
Host B
Receiver
Host C
Receiver
Querier
GE1/0/1 GE1 /0/2
GE1/0/1 GE1/0/1
GE1/0/2 GE1/0/3 GE 1/0/2 GE1/0/3