display interface

Use display interface to display aggregate interface information.

Syntax

display interface [ bridge-aggregation ] [ brief [ down | description ] ]

display interface [ bridge-aggregation [ interface-number ] ] [ brief [ description ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number. The value range for the interface-number argument is the set of all existing aggregate interface numbers.

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 for the down state. If you do not specify this keyword, the command displays information about interfaces in all states.

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

Usage guidelines

If you do not specify the bridge-aggregation keyword, the command displays information about all interfaces.

If you specify the bridge-aggregation keyword but do not specify an interface number, the command displays information about all Layer 2 aggregate interfaces.

If you specify the bridge-aggregation interface-number option, the command displays information about the specified aggregate interface.

Examples

# Display detailed information about Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> display interface bridge-aggregation 1
Bridge-Aggregation1
Current state: UP
IP packet frame type: Ethernet II, hardware address: 00e0-fc00-5900
Description: Bridge-Aggregation1 Interface
Bandwidth: 0kbps
2Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
PVID: 1
Port link-type: Access
 Tagged VLANs:   None
 Untagged VLANs: 1
Last clearing of counters:  Never
Last 300 seconds input:  6900 packets/sec 885160 bytes/sec    -%
Last 300 seconds output:  3150 packets/sec 404430 bytes/sec    -%
Input (total):  5364747 packets, 686688416 bytes
         2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses
Input (normal):  5364747 packets, 686688416 bytes
         2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses
Input:  0 input errors, 0 runts, 0 giants, 0 throttles
         0 CRC, 0 frame, 0 overruns, 0 aborts
         0 ignored, 0 parity errors
Output (total): 1042508 packets, 133441832 bytes
         1042306 unicasts, 0 broadcasts, 202 multicasts, 0 pauses
Output (normal): 1042508 packets, 133441832 bytes
         1042306 unicasts, 0 broadcasts, 202 multicasts, 0 pauses
Output: 0 output errors, 0 underruns, 0 buffer failures
         0 aborts, 0 deferred, 0 collisions, 0 late collisions
         0 lost carrier, 0 no carrier

# Display brief information about Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> display interface bridge-aggregation 1 brief
Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed   Duplex Type PVID Description
BAGG1                UP   auto    A      A    1

Table 19: Command output

Field

Description

Bridge-Aggregation1

Layer 2 aggregate interface name.

Current state

Aggregate interface status:

  • DOWN (Administratively down)—The interface is administratively shut down with the shutdown command.

  • DOWN—The interface is administratively up but physically down (possibly because no physical link is present or the link has failed).

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

IP packet frame type

IPv4 packet frame format.

Description

Partial or complete interface description configured by using the description command.

  • If the description keyword is not specified in the display interface brief command, this field displays only the first 27 characters of the interface description.

  • If the description keyword is specified in the display interface brief command, this field displays the complete interface description.

Bandwidth

Expected bandwidth of the interface.

Unknown-speed mode, unknown-duplex mode

The interface speed and duplex mode are unknown.

PVID

Port VLAN ID (PVID).

Port link-type

Port link type: access, trunk, or hybrid.

Tagged VLANs

Packets from the specified VLANs are sent out of this interface with a VLAN tag:

  • Tagged Vlan: none—All packets are sent out of this interface without a VLAN tag.

  • Tagged Vlan: 1—Packets from VLAN 1 are sent out of this interface with a VLAN tag.

This field is displayed when the port link type is access or hybrid.

Untagged VLANs

Packets from the specified VLANs are sent out of this interface without a VLAN tag:

  • Untagged Vlan: none—All packets are sent out of this interface with a VLAN tag.

  • Untagged Vlan: 1—Packets from VLAN 1 are sent out of this interface without a VLAN tag.

This field is displayed when the port link type is access or hybrid.

Last clearing of counters

Time when the reset counters interface command was last used to clear the interface statistics.

Never indicates the reset counters interface command has never been used on the interface since the device startup.

Last 300 seconds input/output rate

Average input/output rate over the last 300 seconds.

Input/Output (total)

Statistics of all packets received/sent on the interface.

Input/Output (normal)

Statistics of all normal packets received/sent on the interface.

Line protocol state

Link layer state of the interface.

Internet protocol processing

IP packet processing.

Disabled indicates that IP packets cannot be processed.

For an interface configured with an IP address, this field changes to Internet address is.

Brief information on interfaces in bridge mode

Brief information about Layer 2 interfaces.

Link: ADM - administratively down; Stby - standby

Link status:

  • ADM—The interface has been administratively shut down. To recover its physical layer state, run the undo shutdown command.

  • Stby—The interface is operating as a backup interface.

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full

If the speed of an interface is automatically negotiated, the speed attribute of the interface includes the auto negotiation flag (the letter a in parentheses).

If an interface is configured to autonegotiate its speed but the autonegotiation has not started, its speed attribute is displayed as auto.

If the duplex mode of an interface is automatically negotiated, the duplex mode attribute of the interface includes the letter a in parentheses or a capital A. H indicates the half duplex mode. F indicates the full duplex mode.

Type: A - access; T - trunk; H - hybrid

Port link type options for interfaces.

Protocol: (s) - spoofing

If the data link layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present, its protocol attribute includes the spoofing flag (the letter s in parentheses).

Interface

Abbreviated interface name.

Link

Physical link state of the interface.

Speed

Interface speed, in bps.

Cause

Cause of a DOWN physical link.