R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
91
display interface vlan-interface
Use display interface vlan-interface to display information about a specified or all VLAN-interfaces.
Syntax
display interface [ vlan-interface ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface vlan-interface vlan-interface-id [ brief [ description ] ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vlan-interface-id: Specifies a VLAN-interface number.
brief: Displays brief interface information. If you do not specify this keyword, the command displays
detailed interface information.
description: Displays the full description of the specified interface. If the keyword is not specified, the
command displays at most the first 27 characters of the interface description. If the keyword is specified,
the command displays all characters of the interface description.
down: Displays information about interfaces in the DOWN state and the causes. If you do not specify
this keyword, this command displays information about interfaces in all states.
|: 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.
Usage guidelines
If you do not provide the vlan-interface keyword, this command displays information about all interfaces.
If you provide the vlan-interface keyword but do not specify the VLAN-interface number, this command
displays information about all VLAN-interfaces.
Examples
# Display information for VLAN-interface 10.
<Sysname> display interface vlan-interface 10
Vlan-interface10 current state: UP
Line protocol current state: UP
Description: Vlan-interface10 Interface
The Maximum Transmit Unit is 1500
Internet Address is 192.168.1.54/24 Primary
Internet Address is 6.4.4.4/24 Sub
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-89b6-d613
IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-89b6-d613