Use this command to disable the specified VLAN.
vlan_name | Specifies the VLAN you want to disable. |
vlan_list | Specifies the VLAN list of IDs to disable. |
Enabled.
You cannot disable a VLAN that is running Layer 2 protocol control traffic for protocols such as EAPS, STP, or ESRP.
When you attempt to disable a VLAN running Layer 2 protocol control traffic, the system returns a message similar to the following:
VLAN accounting cannot be disabled because it is actively used by an L2 Protocol
The following example disables the VLAN named "accounting":
disable vlan accounting
This command was first available in ExtremeXOS 11.4.
The ability to add ports to a disabled VLAN was added in ExtremeXOS 12.5.
The vlan_list option was added in ExtremeXOS 16.1.
This command is available on all platforms.