62 CHAPTER 2: USING PORT COMMANDS
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]port access vlan 3
port hybrid pvid vlan Syntax
port hybrid pvid vlan
vlan_id
undo port hybrid pvid
View
Ethernet Port View
Parameter
vlan_id:
Enter a VLAN ID in the range 2 to 4094, as defined in IEEE 802.1Q. The
default is 1.
Description
Use the port hybrid pvid vlan command to configure the default VLAN ID of
the hybrid port. Use the
undo port hybrid pvid command to restore the default
VLAN ID of the hybrid port.
Hybrid port can be configured together with the isolate-user-vlan. But if the
default VLAN has set mapping in the isolate-user-vlan, the default VLAN ID cannot
be modified. If you want to modify it, cancel the mapping first.
The default VLAN ID of local hybrid port must be consistent with that of the peer
one, otherwise, the packets cannot be properly transmitted.
Related command: port link-type.
Example
To configure the default VLAN of the hybrid port Ethernet1/0/1 to VLAN100, enter
the following.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]port hybrid pvid vlan 100
port hybrid vlan Syntax
port hybrid vlan
vlan_id_list
{ tagged | untagged }
undo port hybrid vlan
vlan_id_list
View
Ethernet Port View