version (IGMP-snooping view)
Use version to specify an IGMP 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 IGMP snooping version in a VLAN is 2.
Views
IGMP-snooping view
Predefined user roles
network-admin
Parameters
version-number: Specifies an IGMP snooping version, 2 or 3.
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 IGMP snooping for the specified VLANs before you execute this command.
You can specify the version for the specified VLANs in IGMP-snooping view, for a VSI in VSI view, or for a VLAN in VLAN view. For a VLAN, the configuration in IGMP-snooping view has the same priority as the configuration in VLAN view, and the most recent configuration takes effect.
Examples
# Enable IGMP snooping for VLAN 2 through VLAN 10, and specify IGMP snooping version 3 for these VLANs.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] enable vlan 2 to 10 [Sysname-igmp-snooping] version 3 vlan 2 to 10
Related commands
enable (IGMP-snooping view)
igmp-snooping enable
igmp-snooping version