Operation Manual - Port
Quidway S6500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
Huawei Technologies Proprietary
1-8
Table 1-12 Set link type for Ethernet port
Operation Command
Configure the port as access port
port link-type access
Configure the port as hybrid port
port link-type hybrid
Configure the port as trunk port
port link-type trunk
Restore the default link type, that is, the access port.
undo port link-type
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.
1.2.12 Add the Ethernet port to Specified VLANs
The following commands are used for adding an Ethernet port to a specified VLAN. The
access port can only be added to one VLAN, while the hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet port view.
Table 1-13 Add the Ethernet port to specified VLANs
Operation Command
Add the current access port to a
specified VLAN
port access vlan vlan_id
Add the current hybrid port to
specified VLANs
port hybrid vlan vlan_id_list { tagged |
untagged }
Add the current trunk port to
specified VLANs
port trunk permit vlan { vlan_id_list | all }
Remove the current access port
from to a specified VLAN.
undo port access vlan
Remove the current hybrid port
from to specified VLANs.
undo port hybrid vlan vlan_id_list
Remove the current trunk port
from specified VLANs.
undo port trunk permit vlan { vlan_id_list | all }
Note that the access port shall be added to an existing VLAN other than VLAN 1. The
VLAN to which Hybrid port is added must have been existed.