![Huawei Quidway S8500 Series Command Manual Download Page 158](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479158.webp)
Command Manual – VLAN&QinQ
Quidway S8500 Series Routing Switches
Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-11
1.3.3 port hybrid protocol-vlan vlan
Syntax
port hybrid protocol-vlan
vlan
vlan-id
{
vlan-protocol-list | all
}
undo
port hybrid protocol-vlan
vlan
{
vlan-id
{
vlan-protocol-list | all
}
| all
}
View
Ethernet port view
Parameter
vlan-id
: ID of the VLAN which a protocol is added to or deleted from.
{
vlan-protocol-list | all
}
:
vlan-protocol represents
the VLAN protocol list to be added to
or deleted from a certain port, in the form of
vlan-protocol-list =
{
protocol-index
[
to
protocol-end
] }.
protocol-index
indicates the initial value of protocol index;
protocol-end
indicates the end value of protocol index.
all
: Adds/deletes all protocols to/from a port.
Description
Use the
port hybrid protocol-vlan vlan
command to add a protocol VLAN or protocol
VLANs to a specified port.
Use the
undo
port hybrid protocol-vlan vlan
command to delete a protocol VLAN or
protocol VLANs from the port.
Use the
undo port hybrid protocol-vlan vlan all
command to delete all the
configured protocol VLANs from the port.
Note:
z
Only Hybrid ports support this feature at present.
z
The specified port must belong to the VLAN before a protocol VLAN can be added
to it.
Related command:
display protocol-vlan vlan
{
vlan-list
|
all
}.
Example
# Add protocol VLANs 4 to 7 to Ethernet1/1/1.
[Quidway-Ethernet1/1/1] port hybrid protocol-vlan vlan 3 4 to 7