Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).

display ip interface

display ip interface

Function

The display ip interface command displays
the IP configuration and statistics on interfaces. The statistics
include the number of packets and bytes received and sent by interfaces,
number of multicast packets sent and received by interfaces, and number
of broadcast packets received, sent, forwarded, and discarded by interfaces.

You can run the display interface command to view detailed
information about the running status and statistics on the interface.

Example

# Display the
IP configuration and statistics on GE1/0/0.

<Huawei> display ip interface gigabitethernet 1/0/0

GigabitEthernet1/0/0 current state : UP

Line protocol current state : UP

The Maximum Transmit Unit : 1500 bytes

input packets : 1431, bytes : 97912, multicasts : 1426

output packets : 2716, bytes : 179760, multicasts : 2710

Directed-broadcast packets:

received packets: 0, sent packets: 0

forwarded packets: 0, dropped packets: 0

ARP packet input number: 11

Request packet: 11

Reply packet: 0

Unknown packet: 0

Internet Address is 10.5.40.1/24

Broadcast address : 10.5.40.255

TTL being 1 packet number: 0

TTL invalid packet number: 0

ICMP packet input number: 0

Echo reply: 0

Unreachable: 0

Source quench: 0

Routing redirect: 0

Echo request: 0

Router advert: 0

Router solicit: 0

Time exceed: 0

IP header bad: 0

Timestamp request: 0

Timestamp reply: 0

Information request: 0

Information reply: 0

Netmask request: 0

Netmask reply: 0

Unknown type: 0

Table 4-9 Description of the display ip interface command
output

Item

Description

GigabitEthernet1/0/0 current
state

Physical status of GigabitEthernet1/0/0:

UP: indicates that the interface is physically Up.

DOWN: indicates that the interface is physically Down.

Administratively DOWN: indicates that the administrator has
run the shutdown command on the interface.

Line protocol current state

Link layer protocol status of the interface:

UP: The link layer protocol of the interface is running properly.

DOWN: The link layer protocol of the interface is Down or no
IP address is configured on the interface.

The Maximum Transmit Unit

MTU of the interface. The default MTU of an Ethernet interface
is 1500 bytes. Packets longer than the MTU are fragmented before being
transmitted. If fragmentation is not allowed, the packets are discarded.

input packets : 1431, bytes : 97912, multicasts : 1426

Total number of packets, bytes, and multicast packets received
by the interface.

output packets : 2716, bytes : 179760, multicasts : 2710

Total number of packets, bytes, and multicast packets sent
by the interface.

Directed-broadcast packets

Number of packets broadcast on the interface directly.

received packets

Total number of received packets.

sent packets

Total number of sent packets.

forwarded packets

Total number of forwarded packets.

dropped packets

Total number of discarded packets.

ARP packet input number

Number of received ARP packets.

Request packet

Number of request packets.

Reply packet

Number of response packets.

Unknown packet

Number of unknown packets.

Internet Address is

IP address and subnet mask of the interface. The displayed
information varies according to the IP address allocation mode:

If the IP address is manually configured, the information is
displayed as "Internet Address is 10.5.40.1/24."

If the IP address is obtained using DHCP, the information is
displayed as "Internet Address is allocated by DHCP, 10.5.40.1/24."

Broadcast address

Broadcast address of an interface.

TTL being 1 packet number

Number of packets with TTL 1.

TTL invalid packet number

Number of packets with invalid TTL.

ICMP packet input number

Number of received ICMP packets.

Echo reply

Number of Echo Reply packets.

Unreachable

Number of Destination Unreachable packets.

Source quench

Number of Source Quench packets.

Routing redirect

Number of Redirect packets.

Echo request

Number of Echo Request packets.

Router advert

Number of Router Advertisement packets.

Router solicit

Number of Router Solicitation packets.

Time exceed

Number of Time Exceeded packets.

IP header bad

Number of IP header error packets.

Timestamp request

Number of Timestamp Request packets.

Timestamp reply

Number of Timestamp Reply packets.

Information request

Number of Information Request packets.

Information reply

Number of Information Reply packets.

Netmask request

Number of Address Mask Request packets.

Netmask reply

Number of Address Mask Reply packets.

Unknown type

Number of unknown packets.

# Display brief
IP information about all interfaces.

<Huawei> display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 3
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 3
Interface IP Address/Mask Physical Protocol
Atm0/0/0 unassigned down down
Bridge-if10 unassigned down down
MFR0/0/1 unassigned down down
NULL0 unassigned up up(s)
Vlanif1 192.168.200.161/24 up up

Reason why an interface is physically Down. Administratively
down indicates that the administrator has run the shutdown command on the interface.

^down: standby

Indicates that the interface is a backup interface.

(l): loopback

Indicates that the loopback function is enabled
on the interface.

(s): spoofing

Indicates that the spoofing function is enabled
on the interface.

(E): E-Trunk down

Indicates that the Eth-Trunk is Down because of the protocol
negotiation on the E-Trunk.

The number of interface that is UP/DOWN in Physical is

Up or Down state of a physical link and number of interfaces
in different states.

The number of interface that is UP/DOWN in Protocol is

Up or Down state of the protocol and number of interfaces
in different states.

Interface

Interface type and number.

IP Address/Mask

IP address and subnet mask of an interface.

Physical

Physical status of an interface:

Up: indicates that the interface is physically Up. (l) indicates
that the loopback function is configured on the interface.

Down: indicates that the interface becomes faulty.

*down: indicates that the administrator has run the shutdown (interface
view) command on the interface. (l) indicates that the loopback
function is configured on the interface.

!down: indicates that the FIB module is suspended. In this
case, the link protocol status of the interface is Down.

Protocol

Link protocol status of the interface:

Up: indicates that the link protocol of the interface is running
properly. (s) indicates that the link protocol status of the interface
is Up when this interface is created and has no IP address configured.
This is an inherent attribute of an interface. When this interface
is configured with an IP address, (s) is still displayed.

Down: indicates that the link protocol of the interface fails
or no IP address is configured on the interface.

(l) indicates that the loopback function is configured on
the interface.