Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-14
untagged
: Removes VLAN tags when the packets of the specified VLANs are
forwarded on the port.
Description
Use the
port hybrid vlan
command to assign the hybrid port to one or multiple VLANs
and configure the port to send packets tagged or untagged for the VLAN(s).
Use the
undo port hybrid vlan
command to remove the hybrid port from the specified
VLAN(s).
By default, a hybrid port only allows packets from VLAN 1 to pass through untagged.
You can configure the
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
} command
multiple times. The VLANs specified each time does not overwrite those configured
before, if any.
The VLAN specified by the
vlan
-
id
argument must already exist. Otherwise, this
command is invalid.
Related commands:
port link-type
.
Examples
# Assign hybrid port Ethernet 1/0/1 to VLAN 2, VLAN 4, and VLAN 50 through VLAN
100; configure the port to keep VLAN tags when sending the packets of these VLANs.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type hybrid
[Sysname-Ethernet1/0/1] port hybrid vlan 2 4 50 to 100 tagged
1.2.6 port link-type
Syntax
port link-type
{
access
|
hybrid
|
trunk
}
undo port link-type
View
Ethernet port view
Parameters
access
: Sets the link type of the current port to access.
hybrid
: Sets the link type of the current port to hybrid.
trunk
: Sets the link type of the current port to trunk.