35
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
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 --
# Display brief information for VLAN interfaces in DOWN state.
<Sysname> display interface vlan-interface brief down
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Vlan2 DOWN Not connected
Table 7
Command output
Field Description
Vlan-interface10 current state
Physical state of a VLAN interface:
•
DOWN (Administratively)
—The administrative state of the VLAN
interface is down, because it has been shut down with the
shutdown
command.
•
DOWN
—The administrative state of the VLAN interface is up, but
its physical state is down. The VLAN of this VLAN interface does not
contain any physical ports in UP state. The ports might not be
connected correctly or the lines might have failed.
•
UP
—Both the administrative state and the physical state of the
VLAN interface are up.
Line protocol current state
Link layer protocol state of a VLAN interface:
•
DOWN
—The protocol state of the VLAN interface is down.
•
UP
—The protocol state of the VLAN interface is up.
Description
Description string of a VLAN interface.