
CLI user manual
32
[OK]
Tip: This configuration will be validated after restarting
7.5 Enter the port configuration view based on Port-VLAN
Table 7.5.1 to enter the port configuration view based on Port-VALN:
Operating
Command
Description
Add Vlan
Add
<vid>
<portlist>
<typelist>
<vid>
:
VLAN ID:1-4095
<portlist>
:
1,3,5-10 or all 0 --CPU port
<typelist>
:
UnModified | UnTagged |
Tagged
Delete Vlan
Delete pvlan
<vidlist>
<vidlist>
:
1,4,5-4094 or all
Example: add VLAN of 2, a member of the port in 2, 3, 4, Untagged
Switch(Vlan)# Add 2 2,3,4, U
VID : 2
Port_cpu : ----
port 1 : ----
port 2 : UnTagged
port 3 : UnTagged
port 4 : UnTagged
port 5 : ----
Tip: This configuration will be validated after restarting
Example: delete port-VLAN that VID is 2
Switch(Vlan)#
Delete qvlan 2
[OK]
Tip: This configuration will be validated after restarting
7.6 Enter configuration view based on 802.1QVlan
Table 7.6.1 into the 802.1Q Vlan configuration based view:
Operating
Command
Description
Pvid setting
config pvid
<portlist> <pvid>
<portlist>
:
1,3 or all 0 --CPU port
<pvid>
:
1-4094
Add VLAN
Add qvlan
<vid> <portlist>
<typelist>
<vid>
:
1-4094
<portlist>
:
1,
、
2
、
3 or all
<typelist>
:
m UnModified
u |UnTagged |
Detele VLAN
Delete
qvlan
<vidlist>
:
1,4,5-4095 or all