82
View
Any view
Default 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.
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.
Description
Use
display
interface vlan-interface
to display information about a specified or all VLAN interfaces.
If you do not specify the
vlan-interface
keyword, this command displays information about all interfaces.
If you specify the
vlan-interface
keyword but do not specify the VLAN interface number, this command
displays information about all VLAN interfaces.
Related commands:
reset counters interface vlan-interface
.
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
Last clearing of counters: Never
# Display brief information for VLAN-interface 2.
<Sysname> display interface vlan-interface 2 brief
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
Vlan2 DOWN DOWN --