The system view is displayed.
A VLAN is created and the VLAN view is displayed. If the VLAN already exists, the VLAN view is displayed.
The VLAN ID is in the range 1 to 4094. To create VLANs in a batch, run the vlan batch { vlan-id1 [ to vlan-id2 ] } &<1-10> command. Then run the vlan vlan-id command to enter the view of a specified VLAN.
If a switch is configured with multiple VLANs, configure names for the VLANs to facilitate VLAN management.
Run the name vlan-name command in the VLAN view. After a VLAN name is configured, you can run the vlan vlan-name vlan-name command in the system view to enter the corresponding VLAN view.
The VLAN is configured as a principal VLAN.
The VLAN ID assigned to a principal VLAN cannot be used to configure the super-VLAN or sub-VLAN. Additionally, it is not recommended that this VLAN ID be used to configure VLAN mapping and VLAN stacking.