
Command Manual – VLAN&QinQ
Quidway S8500 Series Routing Switches
Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-9
Parameter
interface-list
: List of Ethernet ports, expressed as
interface-list=
{
interface-type
interface-number
[
to
{
interface-type interface-number
] }&<1-10>.
interface-type
is
interface type,
interface-number
is interface number. The interface number after the
keyword
to
must be larger than or equal to the interface number before
to
. &<1-10>
represents that the preceding parameter can be repeated up to 10 times.
Description
Use the
port
command to add one port or one group of ports to VLAN.
Use the
undo port
command to cancel one port or one group of ports from VLAN.
Note that you can add/delete trunk port and hybrid port to/from VLAN by the
port
and
undo port
commands in Ethernet port view, but not in VLAN view.
Related command:
display vlan
.
Example
# Add Ethernet2/1/1 through Ethernet2/1/3 to VLAN 2.
[Quidway-vlan2] port ethernet2/1/1 to ethernet2/1/3
1.3 Protocol-Based VLAN Configuration Commands
1.3.1 display protocol-vlan interface
Syntax
display protocol-vlan interface
{
interface-list
|
all
}
View
Any view
Parameter
interface-list
: Displays the protocol information of a specified interface, in the form of
interface-list
= {
interface-type interface-number
[
to interface-type
interface-number
] }&<1-10>.
interface-type
is interface type,
interface-number
is
interface number. The interface number after the keyword
to
must be larger than or
equal to the interface number before
to
. &<1-10> represents that the preceding
parameter can be repeated up to 10 times.
all
: Displays the protocol information of all ports.
Description
Use the
display protocol-vlan interface
command to view the protocol information
and protocol index configured on the specific port, to which you can refer when you use
the protocol-based VLAN and add/delete a protocol.