CLI user manual
17
Operating
Command
Description
Show port type (Trunk or
Access)
Show type
<portlist>
-Portlist Example:1,3,5-10 or all, 0 --CPU
port
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-10 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 : ----
port 9 : ----
port10 : ----
Tip: This configuration will be validated after restarting
Switch(Vlan)# Show Vlan ALL
Port_cpu P1 P2 P3 P4 P5 P6 P7 G1 G2 G3
VID: 1 UT UT UT UT UT UT UT UT UT UT UT
VID: 2 -- -- UT UT UT -- -- -- -- -- --