QTECH
Software Configuration Manual
4-52
QTECH(config-if-ethernet-0/0/5)#flow-control
! Disable flow control on Ethernet 0/0/5
QTECH(config-if-ethernet-0/0/5)#no flow-control
Use following command in any configuration mode to display interface flow-control :
show flow-control
[
interface-num
]
For example :
! Display flow-control of Ethernet 0/0/5
QTECH(config-if-ethernet-0/0/5)#show flow-control ethernet 0/0/5
4.2.11
Port mode configuration
Use this command to configure port mode. If a port configures to be a trunk port, the vlan mode changes
untagged into tagged, and if a port configures to be an access one, the vlan mode changes tagged into untagged.
Configure it in interface configuration mode :
Configure port mode
switchport mode
{ trunk | access }
Restore default port mode : access port
no switchport mode
For example :
! Configure Ethernet 0/0/1 to be trunk port
QTECH(config-if-ethernet-0/0/1)#switchport mode trunk
4.2.12
Trunk allowed VLAN configuration
Use switchport trunk allowed vlan command to add trunk port to specified VLAN. Use no switchport trunk
allowed vlan command to remove trunk port from specified vlan.
Add trunk port to specified vlan
switchport trunk allowed vlan
{
vlan-list
| all }
Remove trunk port from specified vlan
no switchport trunk allowed vlan
{
vlan-list
| all }
For example :
! Add trunk ports Ethernet0/0/1 to VLAN 3, 4, 70 to 150
QTECH(config-if-ethernet-0/0/1)# switchport trunk allowed vlan 3, 4, 70- 150
4.2.13
The default vlan-id of trunk port configuration
Use switchport trunk native vlan command to configure the default vlan-id (pvid) of trunk port. When
receiving untagged packet, it will be transferred to VLAN defaulted VLAN ID. Packet receiving and sending follow
IEEE 802.1Q. Configure it in interface configuration :
Configure default VLAN ID of trunk port
switchport trunk native vlan
vlan-id
Restore default VLAN ID of trunk port
no switchport trunk native
Caution : above configuration is effective to trunk port. By default, default VLAN ID is 1. If this port is
not in VLAN 1, configuration fails.
4.2.14
Add access port to specified VLAN
Use switchport access command to add access port to specified VLAN, and the default VLAN-ID is
configured to be the specified VLAN. Configure it in interface configuration mode :