3com 8807 Reference Guide

Page of 1099
142
C
HAPTER
 10: E
THERNET
 P
ORT
 C
ONFIGURATION
 C
OMMANDS
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).
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface ethernet2/1/1
 
[3Com-Ethernet2/1/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: 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.
Example
# Configure the default VLAN of the hybrid port Ethernet2/1/1 to 100.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface ethernet2/1/1
 
[3Com-Ethernet2/1/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