Configuring basic VLAN settings
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Create a VLAN and enter its view, or create a list of VLANs. | vlan { vlan-id1 [ to vlan-id2 ] | all } | By default, only the system default VLAN (VLAN 1) exists. |
3. Enter VLAN view. | vlan vlan-id | To configure a VLAN after you create a list of VLANs, you must perform this step. |
4. Configure a name for the VLAN. | name text | By default, VLAN names are in the format VLAN vlan-id. For example, the name of VLAN 100 is VLAN 0100 by default. |
5. Configure the description of the VLAN. | description text | The default setting is VLAN vlan-id, which is the ID of the VLAN. For example, the description of VLAN 100 is VLAN 0100 by default. |
NOTE: As the system default VLAN, VLAN 1 cannot be created or deleted. Before you delete a dynamic VLAN, a VLAN configured with the QoS policy, or a VLAN locked by an application, you must first remove the configuration from the VLAN. | ||