Command Manual – Port
Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-16
View
Ethernet port view
Parameter
vlan-id: VLAN ID defined in IEEE802.1Q, ranging from 2 to 4094.
Description
Use the port access vlan command to add the access port into a specified VLAN.
Use the undo port access vlan command to cancel the access port from the VLAN.
The condition for using this command is that the VLAN indicated in vlan-id must exist.
Example
# Join Ethernet2/1/1 port to VLAN3 (VLAN3 has existed).
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet2/1/1
[Quidway-Ethernet2/1/1] port access vlan 3
1.1.17 port hybrid pvid vlan
Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet port view
Parameter
vlan-id: VLAN ID defined in IEEE802.1Q, ranging from 1 to 4094 and the default vlan-id
is 1.
Description
Use the port hybrid pvid vlan command to configure the default VLAN ID of the local
hybrid port.
Use the undo port hybrid pvid command to restore the default VLAN ID of the local
hybrid port.
The default VLAN ID of local hybrid port shall be consistent with that of the peer one,
otherwise, the packet cannot be properly transmitted.
Related command: port link-type.