3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring the Protocol-Based VLAN 161
n
To convert a Trunk port into a Hybrid port (or vice versa), you need to use the
Access port as a medium. For example, the Trunk port has to be configured as
an Access port first and then a Hybrid port.
The default VLAN ID on the Trunk ports of the local and peer devices must be
the same. Otherwise, packets cannot be transmitted properly.
Configuring the
Hybrid-Port-Based VLAN
A Hybrid port may belong to multiple VLANs, and this configuration can only be
performed in Ethernet interface view or port group view.
Follow the following steps to configure the Hybrid-port-based VLAN:
n
To configure a Trunk port into a Hybrid port (or vice versa), you need to use the
Access port as a medium. For example, the Trunk port has to be configured as
an Access port first and then a Hybrid port.
Ensure that a VLAN already exists before configuring it to pass through a
certain Hybrid port.
The default VLAN ID on the Hybrid ports of the local and the peer devices must
be the same. Otherwise, packets cannot be transmitted properly.
Configuring the
Protocol-Based VLAN
Introduction to the
Protocol-Based VLAN
In this approach, inbound packets are assigned with different VLAN IDs based on
their protocol type and encapsulation format. The protocols that can be used to
Configure the default VLAN
for the Trunk port
port trunk pvid vlan
vlan-id
Optional
VLAN 1 is the default by
default
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Enter
Ethernet
interface
view or port
group view
Enter Ethernet
interface view
interface interface-type
interface-number
Use either command;
Under Ethernet interface
view, the subsequent
configurations only apply to
the current port; under port
group view, the subsequent
configurations apply to all
ports in the port group
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Configure the port link type as
Hybrid
port link-type hybrid Required
Allow a specified VLAN to pass
through the current Hybrid
port
port hybrid vlan vlan-id-list
{ tagged | untagged }
Required
By default, all Hybrid ports
belong to VLAN 1
Configure the default VLAN of
the Hybrid port
port hybrid pvid vlan
vlan-id
Optional
VLAN 1 is the default by
default