R0106-HP MSR Router Series IP Multicast Command Reference(V7)

212
Related commands
mld-snooping source-deny
version (MLD-snooping view)
Use version to specify the MLD snooping version for VLANs.
Use undo version to restore the default.
Syntax
version version-number vlan vlan-list
undo version vlan vlan-list
Default
The MLD snooping version in a VLAN is 1.
Views
MLD-snooping view
Predefined user roles
network-admin
Parameters
version-number: Specifies an MLD snooping version, 1 or 2.
vlan vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN by its
ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The VLAN ID is in the range of 1 to
4094.
Usage guidelines
You must enable MLD snooping for VLANs before you execute this command.
Examples
# Enable MLD snooping for VLAN 2 through VLAN 10, and specify the MLD snooping version as 2 in
these VLANs.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] enable vlan 2 to 10
[Sysname-mld-snooping] version 2 vlan 2 to 10
Related commands
enable (MLD-snooping view)
mld-snooping enable