GSWB 8.2 Configuration Definition Commands

8.2.9Virtual LAN (VLAN) functions

8.2.9.1vlan

This command creates and deletes VLANs:

zVLAN IDs 0 and 4095 cannot be specified because they are reserved IDs.

zVLAN ID 1 cannot be specified because it is set for the default VLAN (and it cannot be deleted either).

zThe VLAN name is optional (generated automatically).

zA VLAN name of a created VLAN cannot be deleted by specifying the corresponding VLAN ID. To change the VLAN name, delete the VLAN and then create the VLAN again with the VLAN name specified.

(1)Synopsis

Creates a VLAN and enters the VLAN configuration mode.

If the specified VLAN ID is an existing ID, VLAN configuration mode is entered.

vlan <vlan-id> [name <vlan-name>]

• Deletes a VLAN

no vlan <vlan-id>

(2) Options

z<vlan-id>: ID of VLAN to be created (2 to 4094)

z<vlan-name>: VLAN name (up to 32 en-size alphanumeric characters)

(3)Command mode

Global

(4)See also show vlan

C122-E003-02EN

8-67