vlan vlan-list
no vlan { vlan-list | all }
【Parameter】
vlan-list:The VLAN which you want to create and whose view you want to enter.
Each id ranges from 1 to 4094.
all:Specifying all when removing VLAN, all created VLANs are removed except
the default VLAN.
【Command configuration mode】
Global configuration mode
【Usage】
Use the vlan command to enter VLAN configuration view. If the vlan identified by
the vlan-id keyword exists, enter VLAN configuration view. If not, this command
creates the VLAN and then enters VLAN configuration view. Use the no vlan
command to remove a VLAN. Caution: Default VLAN (VLAN 1) cannot be
removed. If there is some port with the same default vlan-id as VLAN 1, the port’s
3-6