R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
115
Default command level
2: System level
Parameters
interface-type interface-number1: Specifies an interface by its type and number.
interface-type interface-number1 to interface-type interface-number2: Specifies an interface range.
all: Displays information about protocol-based VLANs on all ports.
|: 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 protocol-based VLAN information on GigabitEthernet 4/0/1.
[Sysname] display protocol-vlan interface GigabitEthernet 4/0/1
Interface: GigabitEthernet4/0/1
VLAN ID Protocol Index Protocol Type
======================================================
2 0 ipv6
3 0 ipv4
Table 25 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.
display protocol-vlan vlan
Use display protocol-vlan vlan to display the protocols and protocol indexes configured on the specified
VLANs.
Syntax
display protocol-vlan vlan { vlan-id1 [ to vlan-id2 ] | all } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
vlan-id1: Specifies a protocol-based VLAN ID in the range of 1 to 4094.