230
Examples
# Enable MLD snooping in VLAN 2 and set the 802.1p precedence for the MLD messages in the VLAN
to 3.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping dot1p-priority 3
mld-snooping drop-unknown
Syntax
mld-snooping drop-unknown
undo mld-snooping drop-unknown
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use
mld-snooping drop-unknown
to enable dropping unknown IPv6 multicast data for a VLAN.
Use
undo mld-snooping drop-unknown
to disable dropping unknown IPv6 multicast data for a VLAN.
By default, this function is disabled, and unknown IPv6 multicast data is flooded in the VLAN.
This command takes effect only if MLD snooping is enabled for the VLAN.
Related commands:
drop-unknown
and
mld-snooping enable
.
Examples
# Enable MLD snooping and the function for dropping unknown IPv6 multicast data in VLAN 2.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping drop-unknown
mld-snooping enable
Syntax
mld-snooping enable
undo mld-snooping enable