# Enable MLD snooping, and enable dropping unknown IPv6 multicast data for VLAN 100.
[SwitchD-vlan100] mld-snooping enable
[SwitchD-vlan100] mld-snooping drop-unknown
[SwitchD-vlan100] quit
Verifying the configuration
# Display statistics for MLD messages and IPv6 PIM hello messages learned through MLD snooping
on Switch B.
[SwitchB] display mld-snooping statistics
Received MLD general queries:
Received MLDv1 specific queries:
Received MLDv1 reports:
Received MLD dones:
Sent
MLDv1 specific queries:
Received MLDv2 reports:
Received MLDv2 reports with right and wrong records:
Received MLDv2 specific queries:
Received MLDv2 specific sg queries:
Sent
MLDv2 specific queries:
Sent
MLDv2 specific sg queries:
Received IPv6 PIM hello:
Received error MLD messages:
The output shows that all switches except Switch A can receive the MLD general queries after Switch
A acts as the MLD snooping querier.
MLD snooping proxying configuration example
Network requirements
As shown in
snooping. Configure MLD snooping proxying so that Switch A can perform the following actions:
•
Forward MLD report and done messages to Router A.
•
Respond to MLD queries sent by Router A and forward the queries to downstream hosts.
12
0
0
0
Figure
72, Router A runs MLDv1 and acts as the MLD querier. Switch A runs MLDv1
3
0
0
0
0
0
0
0
218
0