Command Manual – Port
Quidway S8500 Series Routing Switches
Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-20
Description
Use the
port trunk permit vlan
command to join trunk port to specified VLAN.
Use the
undo port trunk permit vlan
command to 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
.
Related command:
port link-type
.
Example
# Remove the trunk port from the default VLAN.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet2/1/1
[Quidway-Ethernet2/1/1] undo port trunk permit vlan 1
# Add the trunk port to all VLANs.
[Quidway-Ethernet2/1/1] port trunk permit vlan all
1.1.22 port trunk pvid vlan
Syntax
port trunk pvid vlan vlan-id
undo port trunk pvid
View
Ethernet port view
Parameter
vlan-id
: VLAN ID defined in IEEE802.1Q, ranging from1 to 4,094 and the default
vlan-id
is 1.
Description
Use the
port trunk pvid vlan
command to configure the default VLAN ID of trunk port.
Use the
undo port trunk pvid
command to restore the default VLAN ID of the port.
The default VLAN ID of local trunk port should be consistent with that of the peer one,
otherwise, the packet cannot be properly transmitted.
Related command:
port link-type
.