R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

116
vlan-id1 to vlan-id2: Displays protocol-based VLAN information of a VLAN range from vlan-id1 to
vlan-id2. vlan-id1 and vlan-id2 represent VLAN IDs and each in the range of 1 to 4094. vlan-id2 must
be no smaller than 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.
Examples
# 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 26 Command output
Field Descri
p
tion
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.
Related commands
display vlan
port hybrid protocol-vlan
Use port hybrid protocol-vlan to associate the hybrid ports with a protocol-based VLAN.
Use undo port hybrid protocol-vlan to remove the association.
Syntax
port hybrid protocol-vlan vlan vlan-id { protocol-index [ to protocol-end ] | all }
undo port hybrid protocol-vlan { vlan vlan-id { protocol-index [ to protocol-end ] | all } | all }
Views
Ethernet interface view, port group view