Installation manual

Command Manual - Port
Quidway S3000-EI Series Ethernet Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-17
Example
# Join hybrid port Ethernet0/1 to VLAN of 2, 4 and 50-100, and these VLAN will have
tags.
[Quidway-Ethernet0/1] port hybrid vlan 2 4 50 to 100 tagged
1.1.21 port link-type
Syntax
port link-type { access | hybrid | trunk }
undo port link-type
View
Ethernet port view
Parameter
access: Configure the port as access port.
hybrid: Configure the port as hybrid port.
trunk: Configure the port as trunk port
Description
Using port link-type command, you can configure the link type of Ethernet port. Using
undo port link-type command, you can restore the port as default status, i.e. access
port.
You can configure three types of ports concurrently on the same switch, but you
cannot switch between trunk port and hybrid port. You must turn it first into access port
and then set it as other type. For example, you cannot configure a trunk port directly as
hybrid port, but first set it as access port and then as hybrid port.
By default, the port is access port.
Example
# Configure Ethernet port Ethernet0/1 as trunk port.
[Quidway-Ethernet0/1] port link-type trunk
1.1.22 port trunk permit vlan
Syntax
port trunk permit vlan { vlan_id_list | all }
undo port trunk permit vlan { vlan_id_list | all }