disable vlan

disable [ {vlan} vlan_name | vlan vlan_list]

Description

Use this command to disable the specified VLAN (Virtual LAN).

Syntax Description

vlan_name Specifies the VLAN you want to disable.
vlan_list Specifies the VLAN list of IDs to disable.

Default

Enabled.

Usage Guidelines

This command allows you to administratively disable specified VLANs. The following guidelines apply to working with disabling VLANs:
  • Disabling a VLAN stops all traffic on all ports associated with the specified VLAN.
  • You cannot disable a VLAN that is running Layer 2 protocol control traffic for protocols such as EAPS (Extreme Automatic Protection Switching), STP (Spanning Tree Protocol), or ESRP (Extreme Standby Router Protocol).

    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
  • You can disable the default VLAN; ensure that this is necessary prior to disabling the default VLAN.
  • You cannot disable the management VLAN.
  • You cannot bind Layer 2 protocols to a disabled VLAN.
  • You can add ports to or delete ports from a disabled VLAN.
Caution

Caution

Disabling the Mgmt VLAN disables access to the Ethernet Management port on a switch (disable vlan Mgmt).

Example

The following example disables the VLAN named "accounting":

disable vlan accounting

History

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.

Platform Availability