171
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: Displays protocol-based VLAN information of a VLAN that is in the range of vlan-id1
to vlan-id2. The vlan-id2 parameter specifies a protocol-based VLAN ID, in the range of 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 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.
Example
# Display the protocols and protocol indexes configured on all protocol-based-VLANs.
<Sysname> display protocol-vlan vlan all
VLAN ID:2
Protocol Index Protocol Type
======================================================
0 ipv4
3 ipv6
VLAN ID:3
Protocol Index Protocol Type
======================================================
0 ipv4
1 ipv6
Table 38 Command output
ID of the protocol-based VLAN bound to the port
Protocol type specified by the protocol template
port hybrid protocol-vlan
Description
Use the port hybrid protocol-vlan command to associate the hybrid ports with a protocol-based VLAN.