14
igmp-snooping enable
Syntax
igmp-snooping enable
undo igmp-snooping enable
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use igmp-snooping enable to enable IGMP snooping for a VLAN.
Use undo igmp-snooping enable to disable IGMP snooping for a VLAN.
By default, IGMP snooping is disabled in a VLAN.
IGMP snooping must be enabled globally before it can be enabled in a VLAN.
Related commands: igmp-snooping.
Examples
# Enable IGMP snooping in VLAN 2.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
igmp-snooping fast-leave
Syntax
igmp-snooping fast-leave [ vlan vlan-list ]
undo igmp-snooping fast-leave [ vlan vlan-list ]
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, you
can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to
end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The value range of a VLAN
ID is 1 to 4094.