Command Manual – Port Basic Configuration
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Port Basic Configuration
Commands
Huawei Technologies Proprietary
1-27
Parameter
access
: Sets the port as an access port.
hybrid
: Sets the port as a hybrid port.
trunk
: Sets the port as a trunk port.
irf
-
fabric
: Sets the port as a fabric port.
Description
Use the
port link-type
command to set the link type of the current Ethernet port.
Use the
undo port link-type
command to restore the default link type.
By default, the link type of any port is access.
Pay attention to the following:
z
The four types of ports can co-exist on the same Ethernet switch. However, the
trunk, hybrid and fabric ports cannot be directly switched between the three types
(trunk, hybrid and fabric). To set a trunk/hybrid/fabric port to another type (different
from access), you must first set the port to an access port and then set the access
port to the required type. For example, a trunk port cannot be set to a hybrid port
directly. You must set the trunk port to an access port and then set it to a hybrid
port.
z
If you set a fabric port to an access port after the IRF stack is formed, the stack will
be split and the system will prompt “Warning! This operation maybe split the
fabric.” For details about fabric port, refer to module “IRF Fabric” in this manual.
Example
# Set Ethernet1/0/1 as a trunk port.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet 1/0/1
[Quidway-Ethernet1/0/1] port link-type trunk
1.1.28 port trunk permit vlan
Syntax
port trunk permit vlan
{
vlan-id-list
|
all
}
undo port trunk permit vlan
{
vlan-id-list
|
all
}
View
Ethernet port view