display interface vsi-interface

Use display interface vsi-interface to display information about VSI interfaces.

Syntax

display interface [ vsi-interface [ vsi-interface-id ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vsi-interface [ vsi-interface-id ]: Specifies VSI interfaces. If you specify a VSI interface, this command displays information about the specified interface. If you specify only the vsi-interface keyword, this command displays information about all VSI interfaces. If you do not specify the vsi-interface [ vsi-interface-id ] option, this command displays information about all interfaces. Make sure the specified VSI interfaces have been created on the device.

brief: Display brief interface information. If you do not specify this keyword, the command displays detailed interface information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

down: Displays interfaces that are physically down as well as the down reason. If you do not specify this keyword, the command does not filter output by physical interface state.

Examples

# Display information about VSI-interface 100.

<Sysname> display interface vsi-interface 100
Vsi-interface100
Current state: UP
Line protocol state: UP
Description: Vsi-interface100 Interface
Bandwidth: 1000000kbps
Maximum transmission unit: 1500
Internet address: 10.1.1.1/24 (primary)
IP packet frame type: Ethernet II, hardware address: 0011-2200-0102
IPv6 packet frame type: Ethernet II, hardware address: 0011-2200-0102
Physical: Unknown, baudrate: 1000000 kbps
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops

Table 8: Command output

Field

Description

Current state

Physical link state of the interface:

  • Administratively DOWN—The interface has been shut down by using the shutdown command.

  • DOWN—The interface is administratively up, but its physical state is down.

  • UP—The interface is both administratively and physically up.

Line protocol state

Data link layer state of the interface:

  • UP—The data link layer protocol is up.

  • UP(spoofing)—The data link layer protocol is up, but the link is an on-demand link or does not exist.

  • DOWN—The data link layer protocol is down.

Description

Description of the interface.

Bandwidth

Expected bandwidth of the interface.

Maximum transmission unit

MTU of the interface.

Internet protocol processing: Disabled

The interface is not assigned an IP address and cannot process IP packets.

Internet address

IP address of the interface. The primary attribute indicates that the address is the primary IP address.

IP packet frame type

IPv4 packet framing format.

hardware address

MAC address.

IPv6 packet frame type

IPv6 packet framing format. This field is not supported in the current software version.

Physical

Physical type of the interface, which is fixed at Unknown.

baudrate

Interface baudrate in kbps.

Last clearing of counters

Last time when the reset counters interface command was used to clear interface statistics.

This field displays Never if the reset counters interface command has never been used on the interface since the device startup.

Last 300 seconds input rate

Average input rate for the last 300 seconds.

Last 300 seconds output rate

Average output rate for the last 300 seconds.

Input: 0 packets, 0 bytes, 0 drops

Incoming traffic statistics on the interface:

  • Number of incoming packets.

  • Number of incoming bytes.

  • Number of dropped incoming packets.

Output: 0 packets, 0 bytes, 0 drops

Outgoing traffic statistics on the interface:

  • Number of outgoing packets.

  • Number of outgoing bytes.

  • Number of dropped outgoing packets.

# Display brief information about all VSI interfaces.

<Sysname> display interface vsi-interface brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
Vsi100               DOWN DOWN     --

# Display brief information and complete description for VSI-interface 100.

<Sysname> display interface vsi-interface 100 brief description
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
Vsi100               UP    UP      1.1.1.1         VSI-interface100

# Displays interfaces that are physically down and the down reason.

<Sysname> display interface brief down
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Interface            Link   Cause
Vsi100               DOWN   Administratively
Vsi200               DOWN   Administratively

Table 9: Command output

Field

Description

Interface

Abbreviated interface name.

Link

Physical link state of the interface:

  • UP—The interface is physically up.

  • DOWN—The interface is physically down.

  • ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

  • Stby—The interface is in standby state. To see the primary interface, use the display interface-backup state command.

Protocol

Data link layer state of the interface:

  • UP—The data link layer protocol is up.

  • UP (s)—The data link layer protocol of the interface is up, but the link is an on-demand link or does not exist. The (s) attribute represents the spoofing flag.

  • DOWN—The data link layer protocol of the interface is down.

Primary IP

Primary IP address of the interface. This field displays two hyphens (--) if the interface does not have an IP address.

Description

Description of the interface.

Cause

Cause for the physical link state of an interface to be DOWN:

  • Administratively—The interface has been manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

  • Not connected—The interface is not mapped to any VSI, or the mapped VSI does not have any AC or PW.

Related commands

reset counters interface