140
Description
Use the
display protocol-vlan interface
command to display information about protocol-based VLANs
for the specified ports.
Examples
# Display protocol-based VLAN information on GigabitEthernet 1/0/1.
[Sysname] display protocol-vlan interface gigabitethernet 1/0/1
Interface: GigabitEthernet1/0/1
VLAN ID Protocol Index Protocol Type
======================================================
2 0 at
3 0 ipv4
Table 32
Output description
Field Description
VLAN ID
ID of the protocol-based VLAN bound to the port.
Protocol Index
Protocol template index.
Protocol Type
Protocol type specified by the protocol template.
display protocol-vlan vlan
Syntax
display protocol-vlan vlan
{
vlan
-
id1
[
to
vlan
-
id2
] |
all
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
2: System level
Parameters
vlan
-
id1
: Specifies a protocol-based VLAN ID, ranging from 1 to 4094.
vlan
-
id1
to
vlan
-
id2
: Displays protocol-based VLAN information of a VLAN range from
vlan-id1
to
vlan
-
id2
. The
vlan
-
id2
argument specifies a protocol-based VLAN ID ranging from 1 to 4094, but you
must ensure that its value is greater than or equal to that of
vlan
-
id1
.
all
: Displays information about all protocol-based VLANs.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256
characters.