214
MLD snooping configuration examples
IPv6 group policy and simulated joining configuration
example (for VLANs)
Network requirements
As shown in
, Router A runs MLDv1 and acts as the MLD querier, and Switch A runs MLDv1
snooping.
Configure the group policy and simulate joining to meet the following requirements:
•
Host A and Host B receive only the IPv6 multicast data addressed to the IPv6 multicast group
FF1E::101. IPv6 multicast data can be forwarded through HundredGigE 1/0/3 and
HundredGigE 1/0/4 of Switch A uninterruptedly, even though Host A and Host B fail to receive
the multicast data.
•
Switch A will drop unknown IPv6 multicast data instead of flooding it in VLAN 100.
Figure 68 Network diagram
Configuration procedure
1.
Assign an IPv6 address and prefix length to each interface, as shown in
. (Details not
shown.)
2.
Configure Router A:
# Enable IPv6 multicast routing.
<RouterA> system-view
[RouterA] ipv6 multicast routing
[RouterA-mrib6] quit
# Enable MLD on HundredGigE 1/0/1.
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] mld enable
[RouterA-HundredGigE1/0/1] quit
# Enable IPv6 PIM-DM on HundredGigE 1/0/2.
[RouterA] interface hundredgige 1/0/2
Source
Router A
MLD querier
Switch A
Receiver
Receiver
Host A
Host B
Host C
1::1/64
HGE1/0/4
HGE1/0/2
HGE1/0/3
HGE1/0/1
HGE1/0/1
2001::1/64
HGE1/0/2
1::2/64
VLAN 100