display this interface

Function

The display this interface command displays interface information in the current interface view.

Format

display this interface

Parameters

None

Views

NULL interface view, OpticalAmplifier interface view, controller view, all-interface view

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
interface-mgr read

Usage Guidelines

Usage Scenario

To view the status of the interface and packet statistics on an interface, run the display this interface command in the interface view.

Information displayed using the display this interface command in the current interface view is the same as the information displayed using the display interface interface-type interface-number command (interface-type and interface-number specify an existing interface).

Example

The actual command output varies according to the device. The command output here is only an example.

# Display IPv6 information on GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface gigabitethernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] display this interface
GigabitEthernet0/1/1 current state : UP (ifindex: 28)
Line protocol current state : UP
Last line protocol up time : 2019-09-05 18:05:03
Link quality grade : GOOD
Description:
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc12-3456
The Vendor PN is FTLF8519P3BTLHW1
The Vendor Name is FINISAR CORP.
Port BW: 1G, Transceiver max BW: 1G, Transceiver Mode: MultiMode
WaveLength: 850nm, Transmission Distance: 500m
Rx Power:  -5.22dBm, Warning range: [-16.989,  0.000]dBm
Tx Power:  -5.18dBm, Warning range: [-9.500,  0.000]dBm
Loopback: none, full-duplex mode, negotiation: disable, Pause Flowcontrol: Receive Enable and Send Enable
Last physical up time   : 2019-09-05 18:05:03
Last physical down time : 2019-09-05 18:04:55
Current system time: 2019-09-09 08:41:35
Statistics last cleared:never
    Last 300 seconds input rate: 0 bits/sec, 0 packets/sec
    Last 300 seconds output rate: 85 bits/sec, 0 packets/sec
    Input peak rate 0 bits/sec, Record time: -
    Output peak rate 303 bits/sec, Record time: 2019-09-05 18:05:53
    Input: 0 bytes, 0 packets
    Output: 3555162 bytes, 10399 packets
    Input:
      Unicast: 0 packets, Multicast: 0 packets
      Broadcast: 0 packets, JumboOctets: 0 packets
      CRC: 0 packets, Symbol: 0 packets
      Overrun: 0 packets, InRangeLength: 0 packets
      LongPacket: 0 packets, Jabber: 0 packets, Alignment: 0 packets
      Fragment: 0 packets, Undersized Frame: 0 packets
      RxPause: 0 packets
    Output:
      Unicast: 0 packets, Multicast: 10398 packets
      Broadcast: 1 packets, JumboOctets: 0 packets
      Lost: 0 packets, Overflow: 0 packets, Underrun: 0 packets
      System: 0 packets, Overruns: 0 packets
      TxPause: 0 packets
    Last 300 seconds input utility rate:  0.00%
    Last 300 seconds output utility rate: 0.01%
Table 1 Description of the display this interface command output
Item Description
current state

Physical status of the interface:

  • UP.
  • DOWN.
    • chip fault: The component is faulty.
    • sfp_unpresent : A fault occurs on the optical module.
    • link_fail: The data channels between the optical module, physical layer, and MAC layer are faulty.
    • remote_fault: A fault occurs at the remote end.
    • local_fault: A fault occurs at the local end.
    • PCS fault: A fault occurs at the physical coding sublayer (PCS).
    • los: The optical-module receives no signal.
    • OTHER_SOFT_DOWN: Other software fault occurs.
    • negotiation fail: The interface's negotiation fails.
  • Administratively Down: This state is displayed after the network administrator runs the shutdown command on the interface.
  • Flow Down: The status of the data flow on the interface is Down. This state is determined by the status of the mVRRP bound to the interface. If the mVRRP status is Backup or Initialized, the status of the data flow on the interface is Down.
Line protocol current state

Link layer protocol status of the interface:

  • UP: The link layer protocol of this interface is working properly.
  • (mf): mac-flapping blocked. Traffic on the interface is interrupted due to a network loop.
  • DOWN (BFD status down): The bidirectional forwarding detection (BFD) session bound to the interface goes Down.
  • DOWN (Main BFD status down): The BFD session bound to the main interface goes Down, which changes the BFD session status on the Layer 2 or Layer 3 sub-interface correspondingly. This state is available only for the Layer 2 or Layer 3 sub-interface.
  • DOWN (Main bit-error-detection down): The status displayed on Layer 2 or Layer 3 sub-interfaces when the bit error ratio of the interface exceeds the alarm threshold. By default, the bit error function on an interface associates with that on Layer 2 or Layer 3 sub-interfaces.
  • DOWN (Bit-error-detection down): The bit error ratio on the interface exceeds the alarm threshold.
  • DOWN (dampening suppressed):The interface is being suppressed by the protocol module.
  • DOWN: The link layer protocol status of the interface is Down or no IP address is assigned to the interface.

For example, if no IP address is assigned to an IP service-capable interface,its protocol status is Down.

  • UP (spoofing): The link layer protocol of the interface is always Up with the spoofing feature enabled.
Last line protocol up time

Last time the link-layer protocol of the interface went Up.

Last physical up time

Last time when the physical status of the interface went Up.

A hyphen (-) indicates that the physical status of the interface does not change.

When the interface goes Up, if the system is configured with a time zone and is in the summer time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Last physical down time

Last time when the physical status of the interface goes Down.

A hyphen (-) indicates that the physical status of the interface does not change.

When the interface goes Down, if the system is configured with a time zone and is in the summer time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Last 300 seconds output rate

Rate of the bit and the packet that pass through the interface in the last 5 minutes:

  • If the interface is in the hybrid mode, that is, it reads about all the packets on the LAN, use the error to test the traffic.
  • If the interface is not in the hybrid mode, that is, the interface records only the traffic sent and received by itself, the error displays only the traffic sent and received by the interface.

You can run the set flow-stat interval command to change the interval at which traffic statistics are collected.

Last 300 seconds input utility rate

Percentage of the rate for receiving packets to the total bandwidth.

Last 300 seconds output utility rate

Percentage of the rate for sending packets to the total bandwidth.

Last 300 seconds input rate

Rate of the bit and the packet that pass through the interface in the last 5 minutes:

  • If the interface is in the hybrid mode, that is, it reads about all the packets on the LAN, use the error to test the traffic.
  • If the interface is not in the hybrid mode, that is, the interface records only the traffic sent and received by itself, the error displays only the traffic sent and received by the interface.

You can run the set flow-stat interval command to change the interval at which traffic statistics are collected.

Route Port

Layer 3 interface.

Internet Address is

IP address and subnet mask of the interface.

IP Sending Frames' Format is

Format of Ethernet frames sent by the interface.

PKTFMT_ETHNT_2 is the default frame format. When receiving frames, an Ethernet interface can identify the following formats:

  • PKTFMT_ETHNT_2.
  • Ethernet_SNAP.
  • 802.2.
  • 802.3.
Hardware address is

MAC address of the interface.

Current system time

Current system time.

If the system is configured with a time zone and is in the summer time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Statistics last cleared

Last time when statistics on the interface were deleted.

Input peak rate

Maximum average rate at which packets were received during all statistical intervals. During each statistical interval, packets are received at a specific rate.

You can run the set flow-stat interval command to change the interval at which traffic statistics are collected. The value is an integer ranging from 10 to 600, in seconds. It must be an integer multiple of 10.

The default interval is 300 seconds.

Input

Total number and total bytes of received packets on an interface. Packets include correct packets (unicast, broadcast, multicast packets and JumboOctets), incorrect packets, and dropped packets.

  • 183126871 bytes, 182525 packets: number of correctly sent packets and bytes. The number of sent packets is the sum of the sent unicast, broadcast, and multicast packets.
  • Number of correctly received packets and bytes. The packets include:
    • Unicast.
    • Multicast.
    • Broadcast.
  • Number of received incorrect packets and dropped packets of the following types:
    • CRC: Packets whose length is in the normal range but that contain that CRC error.
    • Symbol: Error packets at the physical layer.
    • Overrun: Packets that are discarded due to overflow.
    • InRangeLength: Packets with lengths ranging from 46 bytes to 1500 bytes, excluding other format errors.
    • Alignment: Packets longer than 64 bytes and less than 1518 bytes and that contains the CRC error.
    • Fragment: Packets less than the minimum packet length and that contain the CRC error.
    • Undersized Frame: Short packets less than the minimum packet length.
    • RxPause: Received Pause packets.
Output peak rate

Maximum average rate at which packets were sent during all statistical intervals. During each statistical interval, packets are sent at a specific rate.

You can run the set flow-stat interval command to change the interval at which traffic statistics are collected. The value is an integer ranging from 10 to 600, in seconds. It must be an integer multiple of 10.

The default interval is 300 seconds.

Output

Total number and total bytes of sent packets on an interface. Packets include correct packets (unicast, broadcast, multicast packets and JumboOctets), incorrect packets, and dropped packets.

  • 183126871 bytes, 182525 packets: number of correctly sent packets and bytes.The number of sent packets is the sum of the sent unicast, broadcast, and multicast packets.
  • Number of correctly sent packets of the following types:
    • Unicast.
    • Multicast.
    • Broadcast.
  • Number of sent incorrect packets and dropped packets of the following types:
    • Lost: Lost packets.
    • Overflow: Packets that are discarded due to overflow.
    • Underrun: Half packets.
    • System: Packets when system error occurs.
    • Overruns: Packets that are discarded due to overflow.
    • TxPause: Sent Pause packets.
The Maximum Transmit Unit is

MTU of the interface.

Description

Interface description.

A maximum of 242 case-sensitive characters (including spaces) can be entered. The description helps you know the functions of the interface.

If the description command is not used to configure the interface description, the description is empty by default.

ifindex

Interface index.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >