H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration
1-9
To do… Use the command… Remarks
Enter system view
system-view
—
Enter
Ethernet
port view
interface interface-type
interface-number
Enter
Ethernet
port view
or port
group view
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Use either command
Under Ethernet port view,
the subsequent
configurations only apply to
the current port; under port
group view, the subsequent
configurations apply to all
the ports in the port group.
Configure the port link
type as Trunk
port link-type trunk
Required
By default, a port is of the
Access type.
Allow a specified VLAN
to pass through the
current Trunk port
port trunk permit vlan
{ vlan-id-list | all }
Required
By default, all Trunk ports
belong to VLAN 1 only
Configure the default
VLAN for the Trunk port
port trunk pvid vlan
vlan-id
Optional
VLAN 1 is the default by
default
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 ID on the Trunk ports of the local and peer devices must be the
same. Otherwise, packets cannot be transmitted properly.
1.4.4 Configuring a Hybrid-Port-Based VLAN
A Hybrid port can belong to multiple VLANs, and this configuration can only be
performed in Ethernet port view or port group view.
Follow these steps to configure a Hybrid-port-based VLAN: