R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)

19
reserved: Displays information about the reserved VLANs. Protocol modules determine which VLANs are
reserved VLANs, according to function implementation, and reserved VLANs serve protocol modules.
You cannot configure reserved VLANs.
static: Displays the number of static VLANs and the ID for each static VLAN. The static VLANs are
manually created.
|: 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 VLAN 2 information.
<Sysname> display vlan 2
VLAN ID: 2
VLAN Type: static
Route interface: not configured
Description: VLAN 0002
Name: VLAN 0002
Tagged Ports: none
Untagged Ports:
Ethernet1/1 Ethernet1/2 Ethernet1/3
# Display VLAN 3 information.
<Sysname> display vlan 3
VLAN ID: 3
VLAN Type: static
Route Interface: configured
IP Address: 1.1.1.1
Subnet Mask: 255.255.255.0
Description: VLAN 0003
Name: VLAN 0003
Tagged Ports: none
Untagged Ports: none
Table 5 Command output
Field Description
VLAN Type VLAN type, static or dynamic.
Route interface Indicates whether the VLAN-interface is configured or not.
Description Description of the VLAN.
Name Name configured for the VLAN.
IP Address
Primary IP address of the VLAN-interface. This is available only when an IP
address is configured for the VLAN-interface. To display secondary IP
addresses, use the display interface vlan-interface command in any view or the
display this command in VLAN-interface view.