Task
Clear statistics for the MLD messages
learned by MLD snooping.
MLD snooping configuration examples
IPv6 group policy configuration example
Network requirements
As shown in
snooping.
To enable Host A and Host B to receive only the IPv6 multicast data addressed to the IPv6 multicast group
FF1E::101, configure MLD snooping on Switch A and enable the switch to drop unknown IPv6 multicast
data instead of flooding it in VLAN 100.
Figure 37 Network diagram
Source
XGE1/0/2
1::1/64
Configuration procedure
Assign an IPv6 address and prefix length to each interface according to
1.
shown.)
On Router A, enable IPv6 multicast routing, enable MLD on Ten-GigabitEthernet 1/0/1, and
2.
enable IPv6 PIM-DM on each interface.
<RouterA> system-view
[RouterA] ipv6 multicast routing-enable
[RouterA] interface ten-gigabitethernet 1/0/1
[RouterA-Ten-GigabitEthernet1/0/1] mld enable
[RouterA-Ten-GigabitEthernet1/0/1] ipv6 pim dm
[RouterA-Ten-GigabitEthernet1/0/1] quit
[RouterA] interface ten-gigabitethernet 1/0/2
[RouterA-Ten-GigabitEthernet1/0/2] ipv6 pim dm
Figure
37, Router A runs MLDv1 and serves as the MLD querier, and Switch A runs MLDv1
XGE1/0/1
1::2/64
2001::1/64
Router A
MLD querier
Command
reset mld-snooping statistics
Receiver
Host A
XGE1/0/4
XGE1/0/1
XGE1/0/3
Switch A
XGE1/0/2
Host C
110
Receiver
Host B
VLAN 100
Figure
37. (Details not