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.
The display ip interface brief command displays brief information about interface IP addresses, including the IP address, subnet mask, physical status, link-layer protocol status, and number of interfaces in different states.
display ip interface [ interface-type interface-number ]
display ip interface brief [ interface-type [ interface-number ] | slot slot-id [ card card-number ] ]
display ip interface brief [ interface-type ] &<1-8>
Parameter | Description | Value |
---|---|---|
interface-type interface-number | Specifies the type and number of an interface. If no interface is specified, IP configuration and statistics about all interfaces are displayed. |
- |
brief | Displays brief information, including the IP address, subnet mask, physical status, link-layer protocol status, and number of interfaces in different states. | - |
slot slot-id | Displays the IP configuration and statistics of interfaces on the specified slot. If the slot number is not specified, brief information related to the IP addresses of the interfaces on all interface boards and main control boards is displayed. |
- |
card card-number | Displays the IP configuration and statistics of interfaces on specified card. |
- |
You can run the display interface description command to view the interface description.
You can run the display interface command to view detailed information about the running status and statistics on the interface.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support sub-interfaces.
<HUAWEI> display ip interface vlanif 15 Vlanif15 current state : UP Line protocol current state : UP The Maximum Transmit Unit : 1500 bytes input packets : 766390, bytes : 41540847, multicasts : 681817 output packets : 242239, bytes : 14679482, multicasts : 172333 Directed-broadcast packets: received packets: 0, sent packets: 0 forwarded packets: 0, dropped packets: 0 Internet Address is 10.1.1.119/24 Broadcast address : 10.1.1.255 TTL being 1 packet number: 164035 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
Item |
Description |
---|---|
Vlanif15 current state |
|
Line protocol current state |
|
The Maximum Transmit Unit |
MTU of the interface. The default MTU of an Ethernet interface or a serial 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 : 766390, bytes : 41540847, multicasts : 681817 |
Total number of packets, bytes, and multicast packets received by the interface. |
output packets : 242239, bytes : 14679482, multicasts : 172333 |
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. |
Internet Address is |
IP address assigned to the interface and mask length. |
Broadcast address |
Broadcast address of the 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. |
<HUAWEI> display ip interface brief vlanif 15 *down: administratively down ^down: standby (l): loopback (s): spoofing (E): E-Trunk down Interface IP Address/Mask Physical Protocol Vlanif15 10.1.1.119/24 up up