![Huawei Quidway S8500 Series Command Manual Download Page 74](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479074.webp)
Command Manual – Port
Quidway S8500 Series Routing Switches
Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-18
[Quidway-Ethernet2/1/1] port hybrid vlan 2 4 50 to 100 tagged
1.1.19 port link-type
Syntax
port link-type
{
access
|
hybrid
|
trunk
}
undo port link-type
View
Ethernet port view
Parameter
access
: Configures the port as access port.
hybrid
: Configures the port as hybrid port.
trunk
: Configures the port as trunk port
Description
Use the
port link-type
command to configure the link type of Ethernet port.
Use the
undo port link-type
command to 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 link type of the port is Access port.
Example
# Configure Ethernet port Ethernet2/1/1 as trunk port.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet2/1/1
[Quidway-Ethernet2/1/1] port link-type trunk
1.1.20 port-mode
Syntax
port-mode
{
wan
|
lan
}
undo port-mode