User Guide
199
5.3.15 VLAN configuration
Add 802.1Q VLAN
TENDA# configure terminal
TENDA(config)# vlan 2
Note: Create a new QVLAN
TENDA(config)# vlan 3-5
Note: Create multiple QVLANs
Add QVLAN member ports
TENDA(config)# interface range gigabitethernet 0/1-10
Note: Enter the directory of ports 1-10
TENDA(config-if)# switchport access vlan 2
Note: Add ports 1-10 to VLAN2
Delete QVLAN member ports
TENDA(config)# interface range gigabitethernet 0/2,5,6
Note: Enter the directory of port 2, port 5 and port 6
TENDA(config-if)# switchport access vlan 1
Note: Delete port 2,port 5 and port 6 from QVLAN2(A port must belong to a single VLAN and
belong to VLAN1 by default)
Delete QVLAN
TENDA(config)# no vlan 2
Note: Delete QVLAN2
TENDA(config)# no vlan 10-15
Note: Delete multiple VLANs 10-15
Create trunk port
TENDA# configure terminal
TENDA(config)# interface gigabitethernet 0/2
Note: Enter the directory of port 2
TENDA(config-if)# switchport mode trunk
Note: Set port 2 to a Trunk port
TENDA(config-if)# switchport trunk native vlan 1
Note: Set the PVID of Trunk port 2 to 1
TENDA(config-if)# switchport trunk allowed vlan all
Note: VLAN Set Trunk port to carry all VLANs