3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT, 4500 50-PORT Port link-type Syntax, 4500interface e1/0/1

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 64
Image 64

58CHAPTER 2: USING PORT COMMANDS

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-vidcommand.

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-typecommand to configure the link type of the Ethernet port. Use the undo port link-typecommand 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.

Page 64
Image 64
3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT, 4500 50-PORT, 4500 26-PORT manual Port link-type Syntax, 4500interface e1/0/1