H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500 Series Ethernet Switches Chapter 2
VLAN Configuration
2-5
Note:
z 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.
z The default VLAN IDs of the Trunk ports on the local and peer devices must be the
same. Otherwise, packets cannot be transmitted properly.
2.2.3 Configuring a Hybrid-Port-Based VLAN
A Hybrid port may belong to multiple VLANs, and this configuration can only be
performed in Ethernet port view.
Follow these steps to configure the Hybrid-port-based VLAN:
To do… Use the command… Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Configure the port link
type as Hybrid
port link-type hybrid
Required
Allow the specified VLANs
to pass through the
current Hybrid port
port hybrid vlan
vlan-id-list { tagged |
untagged }
Required
By default, all Hybrid ports
only allow packets of
VLAN 1 to pass.
Configure the default
VLAN of the Hybrid port
port hybrid pvid vlan
vlan-id
Optional
VLAN 1 is the default by
default
Note:
z 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.
z Ensure that the VLANs already exist before configuring them to pass through a
Hybrid port.
z The default VLAN IDs of the Hybrid ports on the local and the peer devices must be
the same. Otherwise, packets cannot be transmitted properly.