3
|
: 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 Ethernet interface information.
If no interface type is specified, this command displays information about all interfaces.
If an interface type is specified but no interface number is specified, this command displays information
about all interfaces of that type.
Related commands:
interface
.
Examples
# Display detailed information about Layer 2 interface GigabitEthernet 1/0/1.
<Sysname> display interface gigabitethernet 1/0/1
GigabitEthernet1/0/1 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0026-3e08-1140
Description: GigabitEthernet1/0/1 Interface
Loopback is not set
Media type is twisted pair, promiscuous mode set
100Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
PVID: 1
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: 13:50:49 Tue 01/20/2009
Last 300 seconds input: 0 packets/sec 70 bytes/sec 0%
Last 300 seconds output: 0 packets/sec 64 bytes/sec 0%
Input (total): 1945 packets, 247903 bytes
1156 unicasts, 688 broadcasts, 101 multicasts, - pauses
Input (normal): 1945 packets, 247903 bytes
1156 unicasts, 688 broadcasts, 101 multicasts, - pauses
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, 0 frame, 0 overruns, 0 aborts
0 ignored, - parity errors
Output (total): 1116 packets, 76088 bytes
975 unicasts, 141 broadcasts, 0 multicasts, - pauses
Output (normal): 1116 packets, 76088 bytes