5
VLAN CONFIGURATION
VLAN Configuration
VLAN Configuration
Tasks
Basic VLAN
Configuration
c
CAUTION:
■ VLAN 1 is the system default VLAN, which needs not to be created and cannot
be removed, either.
Tab le 41 VLAN configuration tasks
Configuration tasks Description Related section
Basic VLAN configuration Required “Basic VLAN Configuration”
Basic VLAN interface
configuration
Optional “Basic VLAN Interface
Configuration”
Displaying VLAN configuration Optional “Displaying VLAN
Configuration”
Tab le 42 Basic VLAN configuration
Operation Command Description
Enter system view system-view -
Create multiple VLANs in
batch
vlan { vlan-id1 to vlan-id2 | all
}
Optional
Create a VLAN and enter
VLAN view
vlan vlan-id Required
By default, there is only one
VLAN, that is, the default
VLAN (VLAN 1).
Assign a name for the current
VLAN
name text Optional
By default, the name of a
VLAN is its VLAN ID. "VLAN
0001" for example.
Specify the description string
of the current VLAN
description text Optional
By default, the description
string of a VLAN is its VLAN
ID. "VLAN 0001" for
example.