display interface

Use display interface to display information about an S-channel interface, an S-channel aggregate interface, a VSI interface, or a VSI aggregate interface.

Syntax

display interface [ s-channel | schannel-aggregation ] [ brief [ down ] ]

display interface [ { s-channel | schannel-aggregation } [ interface-number:channel-id | interface-number:channel-id.vsi-local-id ] ] [ brief [ description ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

s-channel: Specifies an S-channel interface or a VSI interface.

schannel-aggregation: Specifies an S-channel aggregate interface or a VSI aggregate interface.

interface-number:channel-id: Specifies an S-channel interface or S-channel aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel.

interface-number:channel-id.vsi-local-id: Specifies a VSI interface or VSI aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel. The vsi-local-id argument specifies the local ID of the VSI.

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

down: Displays information about interfaces in DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states.

description: Displays a complete interface description in brief information when you configure an interface description string longer than 27 characters. If you do not specify this keyword, the command displays only the first 27 characters in brief information.

Usage guidelines

Examples

# Display detailed information about the S-channel interface S-Channel 1/0/1:10.

<Sysname> display interface s-channel 1/0/1:10
S-Channel1/0/1:10
Current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000c-29f9-366e
Description: S-Channel1/0/1:10 Interface
Bandwidth: 1000000kbps
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
PVID: 1
Port link-type: trunk
 VLAN Passing:   1(default vlan), 2
 VLAN permitted: 1(default vlan), 2
 Trunk port encapsulation: IEEE 802.1q
Last clearing of counters: Never
Input (total):  6 packets, 384 bytes
Output (total):  18 packets, 1152 bytes

# Display brief information about the S-channel interface S-Channel 1/0/1:10.

<Sysname> display interface s-channel 1/0/1:10 brief
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed   Duplex Type PVID Description
SCH1/0/1:10            UP   10G(a)  F(a)   T    1

# Display detailed information about the VSI interface S-Channel 1/0/1:10.1.

<Sysname> display interface s-channel 1/0/1:10.1
S-Channel1/0/1:10.1
Current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000c-29f9-366e
Description: S-Channel1/0/1:10.1 Interface
Bandwidth: 1000000kbps
Last clearing of counters: Never

# Display brief information about the VSI interface S-Channel 1/0/1:10.1.

<Sysname> display interface s-channel 1/0/1:10.1 brief
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed   Duplex Type PVID Description
SCH1/0/1:10.1          UP   --      --     --   --

# Display brief information about all S-channel interfaces and VSI interfaces in DOWN state.

<Sysname> display interface s-channel brief down
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Interface              Link Cause
SCH1/0/1:11            DOWN Not connected
SCH1/0/1:11.1          DOWN Not connected

Table 6: Command output

Field

Description

Current state

Interface status:

  • Administratively DOWN—The interface is administratively down.

  • DOWN—The interface is administratively up but physically down.

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

Hardware Address

Hardware address of the interface.

Description

Description information for the interface.

Bandwidth

Expected bandwidth for an S-channel interface or a VSI interface.

PVID

Default VLAN ID of the interface.

Port link-type

Link type of the interface.

Trunk port encapsulation

Encapsulation type of the trunk port.

Last clearing of counters

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

Never indicates interface statistics have never been cleared since startup.

Input (total): 6 packets, 384 bytes

Total number of packets and bytes that the S-channel interface received.

Output (total): 18 packets, 1152 bytes

Total number of packets and bytes that the S-channel interface sent.

Link

Physical connection status of an interface:

  • UP—The link is physically up.

  • DOWN—The link is physically down.

  • ADM—The link is administratively down.

  • Stby—A standby interface.

Duplex

Duplex mode of an interface:

  • (a)/A—Autonegotiation.

  • H—Half-duplex.

  • F—Full-duplex.

Cause

Causes of a DOWN link:

  • Administratively—The interface was shut down by executing the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

  • Not connected—No physical connection because of absence or failure of network cables.

Related commands

reset counters interface