312
# Display brief information about static MLD snooping group entries in VLAN 100 on Switch C.
[SwitchC] display mld-snooping static-group vlan 100
Total 1 entries).
VLAN 100: Total 1 entries).
(::, FF1E::101)
Host ports (2 in total):
HGE1/0/3
HGE1/0/5
The output shows that HundredGigE 1/0/3 and HundredGigE 1/0/5 on Switch C have become static
member ports of IPv6 multicast group FF1E::101.
MLD snooping querier configuration example (for VLANs)
Network requirements
•
The network is a Layer 2-only network.
•
Source 1 and Source 2 send multicast data to IPv6 multicast groups FF1E::101 and FF1E::102,
respectively.
•
Host A and Host C are receivers of IPv6 multicast group FF1E::101, and Host B and Host D are
receivers of IPv6 multicast group FF1E::102.
•
All host receivers run MLDv1 and all switches run MLDv1 snooping. Switch A (which is close to
the multicast sources) acts as the MLD snooping querier.
To prevent the switches from flooding unknown IPv6 packets in the VLAN, enable all the switches to
drop unknown IPv6 multicast packets.
Figure 91 Network diagram
Configuration procedure
1.
Configure Switch A:
# Enable MLD snooping globally.
<SwitchA> system-view
Switch D
Switch A
Querier
Switch B
Switch C
Source 1
1::10/64
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
1::20/64
Host A
Host B
Host C
Receiver
Receiver
Receiver
HGE1/0/4
VLAN 100