
CLI user manual
22
6.4 Enter the port configuration view based on Vlan
Table 6.4.1 to enter the port configuration view based on vlan:
Operating
Command
Description
Add Vlan
Add
<vid>
<portlist>
<typelist>
<vid>: VLAN ID:1-4095
<portlist>: 1,3,5-8 or all 0 --CPU port
<typelist>: UnModified | UnTagged |
Tagged
Delete Vlan
Delete
<vidlist>
<vidlist>: 1,4,5-4094 or all
Example: add VLAN of 2, a member of the port in 2, 3, 4, 5, 6
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 : ----
port 6 : ----
port 7 : ----
port 8 : ----
Tip: This configuration will be validated after restarting
Switch(Vlan)# Show Vlan ALL
Port_cpu P1 P2 P3 P4 P5 P6 P7 P8
VID: 1 UT UT UT UT UT UT UT UT UT
VID: 2 -- -- UT UT UT -- -- -- --