Command Manual - VLAN
Quidway S6500 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-10
View
Ethernet port view
Parameter
vlan-id
: ID of the VLAN which a protocol is added to or deleted from.
protocol-index
: Value of the protocol index, ranging from 0 to 6. It must be smaller than
protocol-end.
protocol-end:
End value of the protocol index, ranging form 0 to 6.
all
: All protocols.
Description
Using the
port hybrid protocol-vlan vlan
command, you can associate a
protocol-based VLAN with the specified port. Using the
undo
port hybrid
protocol-vlan vlan
command, you can delete the association between the port and the
protocol-based VLAN.
Note that only the Hybrid port supports this feature at present. The port must belong to
the VLAN before you associate it with the protocol-based VLAN. Otherwise, it cannot
be associated with the VLAN.
For the related commands, see
display protocol-vlan interface
.
Example
# Associate Ethernet1/0/1 with protocols 0 to 6 in VLAN 3
[Quidway-Ethernet1/0/1] port hybrid protocol-vlan vlan 3 0 to 6
1.3.4 protocol-vlan vlan slot
Syntax
protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
slot
slot-num
undo
protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
slot
slot-num
View
system view
Parameter
vlan-id
: ID of the VLAN which a protocol is added to or deleted from.
protocol-index
: Value of the protocol index, ranging from 0 to 6. It must be smaller than
protocol-end.
protocol-end:
End value of the protocol index, ranging form 0 to 6.
all
: All protocols.