Command Manual – Port
Quidway S8500 Series Routing Switches
Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-17
Example
# Configure the default VLAN of the hybrid port Ethernet2/1/1 to 100.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet2/1/1
[Quidway-Ethernet2/1/1] port hybrid pvid vlan 100
1.1.18 port hybrid vlan
Syntax
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
undo port hybrid
vlan
vlan-id-list
View
Ethernet port view
Parameter
vlan-id-list
:
vlan-id-list
= [
vlan-id1
[
to
vlan-id2
] ]&<1-10>: Specifies which VLAN the
hybrid port will be added to. It can be discrete. The
vlan-id
ranges from 1 to 4,094.
&<1-10> indicates that the former parameter can be input 10 times repeatedly at most.
tagged
: Packet of specified VLAN will have tag.
untagged
: Packet of specified VLAN will not have tag.
Description
Use the
port hybrid
vlan
command to join the hybrid port to specified existing VLAN.
Use the
undo port hybrid
vlan
command to cancel the hybrid port from the specified
VLAN.
Hybrid port can belong to multiple VLANs. If the
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
} command is used for many times, the VLANs carried by the hybrid port is
the set of
vlan-id-list
.
This command can be used on condition that the VLAN specified with
vlan-id must
have been existed.
Related command:
port link-type
.
Example
# Join hybrid port Ethernet2/1/1 to VLAN of 2, 4 and 50-100, and these VLAN will have
tags.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet2/1/1