3Com Switch 8800 Configuration Guide
Chapter 6 Ethernet Port Configuration
6-6
6.2.11 Setting the Link Type for the Ethernet Port
Ethernet port can operate in three different link types, access, hybrid, and trunk types.
The access port carries one VLAN only, used for connecting to the user’s computer.
The trunk port can belong to more than one VLAN and receive/send the packets on
multiple VLANs, used for connection between the switches. The hybrid port can also
carry more than one VLAN and receive/send the packets on multiple VLANs, used for
connecting both the switches and user’s computers. The difference between the hybrid
port and the trunk port is that the hybrid port allows the packets from multiple VLANs to
be sent without tags, but the trunk port only allows the packets from the default VLAN to
be sent without tags.
Perform the following configuration in Ethernet port view.
Table 6-11
Set the link type for the Ethernet port
Operation
Command
Configure the port as access port
port link-type
access
Configure the port as hybrid port
port link-type
hybrid
Configure the port as trunk port
port link-type
trunk
Restore the default link type, that is, the
access port
undo port link-type
You can configure three types of ports concurrently on the same switch, but you cannot
switch between trunk port and hybrid port. You must turn it first into access port and
then set it as other type. For example, you cannot configure a trunk port directly as
hybrid port, but first set it as access port and then as hybrid port.
By default, the port is access port.
6.2.12 Adding the Ethernet Port to Specified VLANs
The following commands are used for adding an Ethernet port to a specified VLAN. The
access port can only be added to one VLAN, while the hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet port view.
Table 6-12
Add the Ethernet port to specified VLANs
Operation
Command
Add the current access port to a
specified VLAN
port access vlan vlan_id
Add the current hybrid port to specified
VLANs
port hybrid
vlan
vlan_id_list
{
tagged
|
untagged
}