157
Description
Use
display protocol-vlan interface
to display information about protocol-based VLANs for the
specified ports.
Examples
# Display protocol-based VLAN information on Ethernet 1/0/1.
[Sysname] display protocol-vlan interface ethernet 1/0/1
Interface: Ethernet1/0/1
VLAN ID Protocol Index Protocol Type
======================================================
2 0 ipv6
3 0 ipv4
Table 35 Command output
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, in the range of 1 to 4094.
vlan
-
id1 to vlan
-
id2
: Specifies a VLAN ID range. Both the
vlan-id1
and the
vlan-id2
arguments are in
the range of 1 to 4094. The value for
vlan-id2
must be equal to or greater than the value for
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
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, a case-sensitive string of 1 to 256 characters.
Description
Use
display protocol-vlan vlan
to display the protocols and protocol indexes configured on the
specified VLANs.
Related commands:
display vlan
.