3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring the Port-Based VLAN 159
■ An Access port only belongs to one VLAN. Therefore, its default VLAN is the
VLAN it belongs to and cannot be configured.
■ You can configure the default VLAN for the Trunk port or the Hybrid port as
they can both belong to multiple VLANs.
■ If the VLAN removed through the undo vlan command is the default VLAN of
a port, the default VLAN for an Access port reverts to VLAN 1, whereas that for
the Trunk or Hybrid port keeps unchanged, meaning a Trunk or Hybrid port can
use a nonexistent VLAN as the default VLAN.
Configured with the link type and default VLAN, a port handles packets in
different ways, as described in the following table:
Configuring the
Access-Port-Based VLAN
There are two ways to add an Access port to a VLAN: one way is to configure in
VLAN view, the other way is to configure in Ethernet interface view or port group
view.
Follow the following steps to configure the Access-port-based VLAN in VLAN
view:
Port type
Inbound packets handling
Outbound packets
handling
If no tag is
carried in the
packet
If a tag is carried in the
packet
Access port Tag the packet
with the default
VLAN ID
■ Receive the packet if
its VLAN ID is the
same as the default
VLAN ID
■ Discard the packet if
its VLAN ID is different
from the default VLAN
ID
Directly send the packet
with the tag stripped as
the VLAN ID is the
default VLAN ID.
Trunk port ■ Receive the packet if
the VLAN ID is the
same as the default
VLAN ID
■ Receive the packet if
the VLAN ID is not the
same as the default
VLAN ID but is
allowed to pass
through the port
■ Discard the packet if
the VLAN ID is neither
the same as the
default VLAN ID nor
allowed to pass
through the port
■ Strip the tag and
send the packet if the
VLAN ID is the same
as the default VLAN
ID.
■ Keep the tag and
send the packet if the
VLAN ID is not the
same as the default
VLAN ID.
■
Hybrid port Send the packet if the
VLAN ID is allowed on
the port. You can use
the port hybrid vlan
command to configure
whether the port keeps
or strips the tags when
sending the packets of
the VLAN.
To do... Use the command... Remarks
Enter system view system-view -