R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
4
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.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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 or subinterface number is specified, this
command displays information about all interfaces of that type.
Related commands: interface.
Examples
# Display information about Layer 3 interface GigabitEthernet 0/1.
<Sysname> display interface gigabitethernet 0/1
GigabitEthernet0/1 current state: UP
Line protocol current state: UP
Description: GigabitEthernet0/1 Interface
The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-000f-0005
IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-000f-0005
Media type is twisted pair, loopback not set, promiscuous mode not set
100Mb/s, Full-duplex, link type is autonegotiation
Output flow-control is disabled, input flow-control is disabled
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Input: 1 packets, 60 bytes, 1 buffers
1 broadcasts, 0 multicasts, 0 pauses
0 errors, 0 runts, 0 giants
0 crc, 0 align errors, 0 overruns
0 dribbles, 0 drops, 0 no buffers
Output:0 packets, 0 bytes, 0 buffers
0 broadcasts, 0 multicasts, 0 pauses
0 errors, 0 underruns, 0 collisions
0 deferred, 0 lost carriers
# Display information about Layer 3 interface GigabitEthernet 0/1, which includes only the interface
name and traffic statistics.