2
VLAN Configuration
When configuring a VLAN, go to these sections for information you are interested in:
VLAN Configuration
Configuring a Port-Based VLAN
VLAN Configuration
VLAN Configuration Task List
Complete the following tasks to configure VLAN:
Basic VLAN Configuration
Basic VLAN Interface Configuration
Displaying VLAN Configuration
Basic VLAN Configuration
Follow these steps to perform basic VLAN configuration:
To do...
Enter system view
Create multiple VLANs in batch
Create a VLAN and enter VLAN
view
Assign a name for the current
VLAN
Specify the description string of
the current VLAN
Task
Use the command...
system-view
vlan { vlan-id1 to vlan-id2 | all }
vlan vlan-id
name text
description text
Required
Optional
Optional
—
Optional
Required
By default, there is only one
VLAN, that is, the default VLAN
(VLAN 1).
Optional
By default, the name of a VLAN
is its VLAN ID. VLAN 0001 for
example.
Optional
By default, the description
string of a VLAN is its VLAN ID.
VLAN 0001 for example.
2-1
Remarks
Remarks