161
VLAN ID Protocol Index Protocol Type
======================================================
2 0 at
3 0 ipv4
Table 36 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.
Description
Use the display protocol-vlan vlan command to display the protocols and protocol indexes configured
on the specified VLAN(s).
Related commands: display vlan.
Examples
# Display the protocols and protocol indexes configured on all protocol-based-VLANs.
<Sysname> display protocol-vlan vlan all
VLAN ID:2