mld-snooping version
Use mld-snooping version to specify an MLD snooping version for a VLAN.
Use undo mld-snooping version to restore the default.
Syntax
mld-snooping version version-number
undo mld-snooping version
Default
The MLD snooping version in a VLAN is 1.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
version-number: Specifies an MLD snooping version, 1 or 2.
Usage guidelines
You must enable MLD snooping for a VLAN before you configure this command.
You can specify the version for a VLAN in VLAN view or for the specified VLANs in MLD-snooping view. The VLAN-specific configuration has the same priority as the configuration in MLD-snooping view, and the most recent configuration takes effect.
Examples
# In VLAN 2, enable MLD snooping, and specify MLD snooping version 2.
<Sysname> system-view [Sysname] mld-snooping [Sysname-mld-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] mld-snooping enable [Sysname-vlan2] mld-snooping version 2
Related commands
enable (MLD-snooping view)
mld-snooping enable
version (MLD-snooping view)