76
Figure 26 Network diagram
Configuration procedure
1.
Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
[SwitchA] mld-snooping
[SwitchA-mld-snooping] quit
# Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the
VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3
# Enable MLD snooping, and enable dropping unknown IPv6 multicast packets for VLAN 100.
[SwitchA-vlan100] mld-snooping enable
[SwitchA-vlan100] mld-snooping drop-unknown
# Enable the MLD snooping querier in VLAN 100.
[SwitchA-vlan100] mld-snooping querier
[SwitchA-vlan100] quit
2.
Configure Switch B:
# Enable MLD snooping globally.
<SwitchB> system-view
[SwitchB] mld-snooping
[SwitchB-mld-snooping] quit
# Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to the
VLAN.
[SwitchB] vlan 100
[SwitchB-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4
# Enable MLD snooping, and enable dropping unknown multicast packets for VLAN 100.
[SwitchB-vlan100] mld-snooping enable
[SwitchB-vlan100] mld-snooping drop-unknown
[SwitchB-vlan100] quit
Switch D
Switch A
Querier
Switch B
Switch C
Source 1
1::10/64
Host D
Receiver
GE1/0/2
GE1/0/1
GE1/0/1
GE1/0/2
GE1/0/3
GE1/0/3
GE1/0/1
GE1/0/2
GE1/0/1
GE1/0/3
GE1/0/2
Source 2
1::20/64
Host A
Host B
Host C
Receiver
Receiver
Receiver
GE1/0/4
VLAN 100