
Operation Manual – VLAN
H3C S9500 Series Routing Switches
Chapter 1 VLAN Configuration
1-9
To do…
Use the command…
Remarks
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:
To change the link type of a port from trunk to hybrid or vice versa, you must set the link
type to access first.
1.4.4 Assigning a Hybrid Port to a 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 these steps to configure the Hybrid-port-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
Ethernet
interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or
port group
view
Enter port
group view
port-group
{
manual
port-group-name
|
aggregation agg-id
}
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
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