set vlan

Use this command to create a new static IEEE 802.1Q VLAN, or to enable or disable an existing VLAN.

Syntax

set vlan {create | enable | disable} vlan-list

Parameters

create | enable | disable Creates, enables or disables VLAN(s).
vlan-list Specifies one or more VLAN IDs to be created, enabled or disabled. VLAN IDs can range from 1 to 4094.

Defaults

None.

Mode

All command modes.

Usage

Each VLAN ID must be unique. If a duplicate VLAN ID is entered, the device assumes that the Administrator intends to modify the existing VLAN.

Enter the VLAN ID using a unique number between 2 and 4094. The VLAN IDs of 0, 1, and 4095 and higher may not be used for user-defined VLANs. See VLAN Support on Extreme Networks S-, K-, and 7100-Series Switches in the S-, K-, and 7100 Series Configuration Guide for further VLAN ID 0, 1, and 4095 information.

Once a VLAN is created, you can assign it a name using the set vlan name command described in set vlan name.

Examples

This example shows how to create VLAN 3:

System(rw)->set vlan create 3

This example shows how to disable VLAN 3:

System(rw)->set vlan disable 3