Command Manual - Port
Quidway S6500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-19
[Quidway-Ethernet1/0/1] port trunk permit vlan 2 4 50 to 100
# Cancel the trunk port Ethernet1/0/2 from VLAN 1.
[Quidway-Ethernet1/0/2] undo port trunk permit vlan 1
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 4094 and the default
vlan_id is 1.
Description
Using port trunk pvid vlan command, you can configure the default VLAN ID of trunk
port. Using undo port trunk pvid command, you can 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.
For the related command, see port link-type.
Example
# Configure the default VLAN of the trunk port Ethernet1/0/1 to 100.
[Quidway-Ethernet1/0/1] port trunk pvid vlan 100
1.1.23 reset counters interface
Syntax
reset counters interface [ interface_type | interface_type interface_num |
interface_name ]
View
User view
Parameter
interface_type: Specifies the port type.