display interface
Syntax
display interface [ bridge-aggregation ] [ brief [ down | description ] ] [ | { begin | exclude | include } regular-expression ]
display interface bridge-aggregation interface-number [ brief [ description ] ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
bridge-aggregation: Displays information about 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, this 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.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.
|: 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 to display aggregate interface information.
If bridge-aggregation is not specified, this command displays information about all interfaces.
If bridge-aggregation is specified without any interface number specified, this command displays information about all aggregate interfaces.
If bridge-aggregation interface-number is specified, this command displays information about the specified aggregate interface.
Examples
# Display information about Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> display interface bridge-aggregation 1 Bridge-Aggregation1 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e207-f2e0 Description: Bridge-Aggregation1 Interface Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 1 Port priority: 0 Last clearing of counters: Never Last 300 seconds input: 0 packets/sec 0 bytes/sec -% Last 300 seconds output: 0 packets/sec 0 bytes/sec -% Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts Input (normal): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts 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): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 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 The brief information of 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 BAGG1 DOWN auto A A 1
Table 14: Command output
Field | Description |
---|---|
Bridge-Aggregation1 current state | The Layer 2 interface status:
|
Unknown-speed mode, unknown-duplex mode | The interface speed and duplex mode are unknown. |
PVID | Port default VLAN ID (PVID). |
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’s startup. |
Last 300 seconds input/output | 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. |
The brief information of interface(s) under bridge mode | Brief information about Layer 2 interfaces. |
Link: ADM - administratively down; Stby - standby | Link status:
|
Speed or Duplex: (a)/A - auto; H - half; F - full | If the speed of an interface is automatically negotiated, its speed attribute includes the auto negotiation flag, letter a in parentheses. If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the auto negotiation flag, letter a in parentheses or a capital A. Letter H indicates the half duplex mode, and letter F indicates the full duplex mode. |
Type: A - access; T - trunk; H - hybrid | Link type options for Ethernet interfaces. |
Interface | Abbreviated interface name. |
Link | Physical link state of the interface. |
Speed | Interface speed, in bps. |