41
Figure 16 Network diagram
Configuration procedure
1.
Configure Switch A:
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/1 through HundredGigE 1/0/3 to the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port hundredgige 1/0/1 to hundredgige 1/0/3
# Enable IGMP snooping, and enable dropping unknown multicast data for VLAN 100.
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] igmp-snooping drop-unknown
# Configure Switch A as the IGMP snooping querier.
[SwitchA-vlan100] igmp-snooping querier
[SwitchA-vlan100] quit
# In VLAN 100, specify 192.168.1.1 as the source IP address of IGMP general queries.
[SwitchA-vlan100] igmp-snooping general-query source-ip 192.168.1.1
# In VLAN 100, specify 192.168.1.1 as the source IP address of IGMP group-specific queries.
[SwitchA-vlan100] igmp-snooping special-query source-ip 192.168.1.1
[SwitchA-vlan100] quit
2.
Configure Switch B:
# Enable IGMP snooping globally.
<SwitchB> system-view
[SwitchB] igmp-snooping
[SwitchB-igmp-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/1 through HundredGigE 1/0/4 to the VLAN.
[SwitchB] vlan 100
[SwitchB-vlan100] port hundredgige 1/0/1 to hundredgige 1/0/4
# Enable IGMP snooping, and enable dropping unknown multicast data for VLAN 100.
Switch D
Switch A
Querier
Switch B
Switch C
Source 1
192.168.1.10/24
Host D
Receiver
HGE1/0/2
HGE1/0/1
HGE1/0/1
HGE1/0/2
HGE1/0/3
HGE1/0/3
HGE1/0/1
HGE1/0/2
HGE1/0/1
HGE1/0/3
HGE1/0/2
Source 2
192.168.1.20/24
Host A
Host B
Host C
Receiver
Receiver
Receiver
HGE1/0/4
VLAN 100