Command Manual – VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-12
1.3.3 port hybrid protocol-vlan vlan
Syntax
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
undo
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
View
Ethernet port view
Parameter
vlan
-
id
: VLAN ID in the range of 1 to 4094.
protocol-index
: Beginning protocol index in the range of 0 to 4.
protocol-end
: End protocol index in the range of 0 to 4. Note that this argument must be
larger than or equal to the
protocol-index
argument.
all
: Specifies all protocols.
Description
Use the
port hybrid protocol-vlan vlan
command to associate a port with the
protocol-based VLAN.
Use the
undo
port hybrid protocol-vlan vlan
command to remove the association
between the specified protocol-based VLAN and a port.
Note:
z
The
port hybrid protocol-vlan vlan
command can be executed on hybrid ports
only.
z
Before you associate a port with the protocol-based VLAN, make sure the port
belongs to the protocol-based VLAN.
z
When the
undo
port hybrid protocol-vlan
vlan
command is being executed, the
switch will prompt operation failure if the index of the specified protocol to be
removed does not exist. If a part of the specified protocol indexes to be removed do
not exist, the switch will remove the existing indexes when it prompts errors.
Related command:
display protocol-vlan interface
.
Example
# Associate Ethernet1/0/1 with the protocols indexed from 0 to 4 of VLAN 3 (assuming
that VLAN 3 is a protocol-based VLAN).
<Quidway> system-view
System View: return to User View with Ctrl+Z.