Command Manual - Port
Quidway S6500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-18
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 Ethernet1/0/1 as trunk port.
[Quidway-Ethernet1/0/1] port link-type trunk
1.1.21 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
Parameter
vlan_id_list: vlan_id_list = [ vlan_id1 [ to vlan_id2 ] ]&<1-10> is the VLAN range joined
by the trunk port. It can be discrete. The vlan_id ranges from 1 to 4094. &<1-10>
indicates that the former parameter can be input 10 times repeatedly at most.
all: Join the trunk port to all VLANs.
Description
Using port trunk permit vlan command, you can join trunk port to specified VLAN.
Using undo port trunk permit vlan command, you can cancel trunk port from
specified VLAN.
Trunk port can belong to multiple VLANs. If the port trunk permit vlan command is
used many times, then the VLAN enabled to pass on trunk port is the set of these
vlan_id_list.
For the related command, see port link-type.
Example
# Join the trunk port Ethernet1/0/1 to VLAN 2, 4 and 50-100.