Command Manual - Port
Quidway S3500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-17
This command can be used on condition that the VLAN specified with vlan_id must
have been existed.
For the related command, see port link-type.
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