other VLAN ID, or the removing fails. When removing interface from other VLANs,
if the PVID of the interface is the same as the VLAN ID, and the interface is also in
VLAN 1, the removing succeeds, and the PVID of the interface default to 1, or the
removing fails
【Example】
!Add Ethernet 1, 3, 4, 5, 8 to current VLAN
QTECH(config-if-vlan)#switchport ethernet 0/0/1 ethernet 0/0/3 to ethernet 0/0/5
ethernet 0/0/8
!Remove Ethernet 3, 4, 5, 8 from current VLAN
QTECH(config-if-vlan)#no switchport ethernet 0/0/3 to ethernet 0/0/5 ethernet
0/0/8
3.1.4 vlan
Use vlan command to enter VLAN mode. If the VLAN identified by the vlan-id
argument does not exist, this command creates the VLAN and then enters VLAN
mode. Use the no vlan commands to remove a VLAN.
3-5