Operation Manual - VLAN
Quidway S5000 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-2
vlan_id
specifies the VLAN ID. Note that the default VLAN, namely VLAN 1, cannot be
deleted.
1.2.2 Add Ethernet Ports to a VLAN
You can use the following command to add the Ethernet ports to a VLAN.
Perform the following configuration in VLAN view.
Table 1-2
Add Ethernet ports to a VLAN
Operation
Command
Add Ethernet ports to a VLAN
port
interface_list
Remove Ethernet ports from a VLAN
undo port
interface_list
By default, the system adds all the ports to a default VLAN, whose ID is 1.
Note that you can add/delete trunk port and hybrid port to/from VLAN by
port
and
undo
port
commands in Ethernet port view, but not in VLAN view.
1.2.3 Set/Delete VLAN Description Character String
You can use the following command to set/delete VLAN description character string.
Perform the following configuration in VLAN view.
Table 1-3
Set/Delete VLAN description character string
Operation
Command
Set the description character string for VLAN
description
string
Restore the default description of current VLAN
undo description
By default, VLAN description character string is VLAN ID of the VLAN, e.g. VLAN 0001.
1.3 Display and Debug VLAN
After the above configuration, execute
display
command in any view to display the
running of the VLAN configuration, and to verify the effect of the configuration.
Table 1-4
Display and debug VLAN
Operation
Command
Display the related information about VLAN
display
vlan
[
vlan_id
|
all
|
static
|
dynamic
]