3com 4500 50-PORT User Manual

Page of 466
58
C
HAPTER
 2: U
SING
 P
ORT
 C
OMMANDS
A hybrid port can belong to multiple VLANs. A port can only be added to a VLAN 
if the VLAN has already been created. See the 
vlan vlan-vid
 command.
Related command: 
port link-type
.
Example
To add the port Ethernet1/0/1 to VLAN 2, VLAN 4 and all VLANs in the range 50 to 
100 as a tagged port, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface ethernet 1/0/1
[4500-Ethernet1/0/1]port link-type hybrid
[4500-Ethernet1/0/1]quit
[4500]vlan 2
[4500-vlan2]quit
[4500]interface e1/0/1
[4500-Ethernet1/0/1]port hybrid vlan 2 4 50 to 100 tagged
[4500-Ethernet1/0/1]
port link-type
Syntax
port link-type { access | hybrid | trunk | xrn-fabric }
undo port link-type
View
Ethernet Port View
Parameter
access: 
Enter to configure the port as an access port.
hybrid:
 Enter to configure the port as a hybrid port
trunk: 
Enter to configure the port as a trunk port.
xrn-fabric:
 Enter to configure the port as a Fabric port.
Description
Use the 
port link-type
 command to configure the link type of the Ethernet 
port. Use the 
undo port link-type
 command to restore the port as default 
status. By default, a port is an access port.
A port on a Switch can be configured as an access port, a hybrid port, a trunk port 
or a fabric port. However, to reconfigure between hybrid and trunk link types, you 
must first restore the default, or access, link type.
Only the Gigabit combo ports can be used to interconnect the Switch units to 
form a stack.
Example
To configure the Ethernet port Ethernet1/0/1 as a trunk port, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.