3Com Switch 8800 Configuration Guide
Chapter 6 Ethernet Port Configuration
6-7
Operation
Command
Add the current trunk port to specified
VLANs
port trunk permit vlan
{
vlan_id_list
|
all
}
Remove the current access port from to
a specified VLAN
undo
port
access vlan
Remove the current hybrid port from to
specified VLANs
undo port hybrid
vlan
vlan_id_list
Remove the current trunk port from
specified VLANs
undo port trunk permit vlan
{
vlan_id_list
|
all
}
Note that the access port shall be added to an existing VLAN other than VLAN 1. The
VLAN to which Hybrid port is added must have been existed.
After adding the Ethernet port to specified VLANs, the local port can forward packets of
these VLANs. The hybrid and trunk ports can be added to multiple VLANs, thereby
implementing the VLAN intercommunication between peers. For the hybrid port, you
can configure to tag some VLAN packets, based on which the packets can be
processed differently.
6.2.13 Setting the Default VLAN ID for the Ethernet Port
Since the access port can only be included in one VLAN only, its default VLAN is the
one to which it belongs. The hybrid port and the trunk port can be included in several
VLANs, it is necessary to configure the default VLAN ID. If the default VLAN ID has
been configured, the packets without VLAN Tag will be forwarded to the port that
belongs to the default VLAN. When sending the packets with VLAN Tag, if the VLAN ID
of the packet is identical to the default VLAN ID of the port, the system will remove
VLAN Tag before sending this packet.
Perform the following configuration in Ethernet port view.
Table 6-13
Set the default VLAN ID for the Ethernet port
Operation
Command
Set the default VLAN ID for the hybrid port
port hybrid pvid vlan
vlan_id
Set the default VLAN ID for the trunk port
port trunk pvid vlan
vlan_id
Restore the default VLAN ID of the hybrid
port to the default value
undo port hybrid pvid
Restore the default VLAN ID of the trunk port
to the default value
undo port trunk pvid
Note that: to guarantee the proper packet transmission, the default VLAN ID of local
hybrid port or Trunk port should be identical with that of the hybrid port or Trunk port on
the peer switch.