No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
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 interface

display interface

Function

The display interface command displays the interface running status and statistics.

Format

display interface [ interface-type [ interface-number [.subinterface-number ] | main ] | main ]

display interface slot slot-id [ main ]

Parameters

Parameter

Description

Value

interface-type [ interface-number ]
Displays the running status of an interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If the interface type is specified but no interface number is specified, the running status of all the interfaces of this type is displayed.

-
subinterface-number

Displays the running status of a sub-interface.

The value is an integer that ranges from 1 to 4096.

main Displays running status and traffic statistics about an interface.
  • If an interface has no sub-interfaces, status and traffic statistics about the interface are displayed whether you specify the main parameter or not.
  • If an interface has sub-interfaces, status and traffic statistics about the interface and sub-interfaces are displayed if you do not specify the main parameter.
-
slot slot-id

Specifies the slot ID.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The running status and statistics of an interface includes the physical status, basic configuration, and packet forwarding of the interface. You can use the display interface command to collect traffic statistics or locate faults on an interface.

Precautions

If no interface type is specified, the running status and statistics of all the interfaces is displayed. If the interface type is specified but no interface number is specified, the running status of all the interfaces of this type is displayed.

Example

# Display the running status, basic configuration, and packet forwarding on Layer 2 Ethernet interface Ethernet0/0/1.

<Huawei> display interface ethernet 0/0/1
Ethernet0/0/1 current state : UP                             
Line protocol current state : UP                                              
Description:HUAWEI, AR Series, Ethernet0/0/1 Interface              
Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216                        
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0018-2000-0083 
Last physical up time   : 2010-07-21 15:35:37                                   
Last physical down time : 2010-07-20 01:06:25                                   
Current system time: 2010-07-21 16:07:53-05:13                                  
Port Mode: COMMON COPPER                                                        
Speed :  100,  Loopback: NONE                                                   
Duplex: FULL,  Negotiation: ENABLE                                              
Mdi   : AUTO,  Clock   : -                                                                       
Last 300 seconds input rate 0 bits/sec, 0 packets/sec                           
Last 300 seconds output rate 0 bits/sec, 0 packets/sec                          
Input peak rate 0 bits/sec,Record time: -                                       
Output peak rate 0 bits/sec,Record time: -                                      
                                                                                
Input:  126 packets, 34204 bytes                                                
  Unicast:                  0,  Multicast:                  52                  
  Broadcast:               74,  Jumbo:                       0                  
  Discard:                  0,  Total Error:                 0                  
                                                                                
  CRC:                      0,  Giants:                      0                  
  Jabbers:                  0,  Throttles:                   0                  
  Runts:                    0,  Symbols:                     0                  
  Ignoreds:                 0,  Frames:                      0  
                                                                                
Output:  2398 packets, 799486 bytes                                             
  Unicast:                  0,  Multicast:                1461                  
  Broadcast:             1477,  Jumbo:                       0                  
  Discard:                  0,  Total Error:                 53                  
                                                                                
  Collisions:               32,  ExcessiveCollisions:         21                  
  Late Collisions:          0,  Deferreds:                   0                  
                                                                                
    Input bandwidth utilization threshold : 100.00%                             
    Output bandwidth utilization threshold: 100.00%                             
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0%                                        
Table 4-3  Description of the display interface command output

Item

Description

current state

Current interface status:
  • DOWN: indicates that the interface is disabled.
  • UP: indicates that the interface is enabled.

Line protocol current state

Link layer protocol status of the interface:
  • DOWN: indicates that the link layer protocol of the interface fails or no IP address is assigned to the interface.
  • UP: indicates that the link layer protocol of the interface is running properly.

Description

Interface description.

To configure the description for an interface, run the description command.

PVID

Default VLAN ID of the interface.

The Maximum Frame Length

Maximum frame length allowed by the interface.

IP Sending Frames' Format

Format of the frame contained in the sent IP packet, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP.

Hardware address

MAC address of the device.

Last physical up time

Last time the interface went Up physically. If this field displays "-", the physical status of the interface does not change.

Last physical down time

Last time the interface went Down physically. If this field displays "-", the physical status of the interface does not change.

Current system time

Current system time.

If the time zone is configured and the daylight saving time is used, the time is in YYYY/MM/DD HH:MM:SS UTC±HH:MM DST format.

Port Mode

Working mode of the interface:

  • COMMON COPPER: The interface works as an electrical interface.
  • COMMON FIBER: The interface works as an optical interface.

If the interface is a combo interface:

  • COMBO AUTO: The combo interface automatically selects the working mode.
  • FORCE FIBER: The combo interface is configured as an optical interface.
  • FORCE COPPER: The combo interface is configured as an electrical interface.

To configure the working mode for an interface, run the combo-port command.

Speed

Current rate of the interface.

  • In auto-negotiation mode, the auto speed command configures the rate of an interface.
  • In non-auto negotiation mode, the speed command configures the rate of an interface.

Loopback

Loopback configuration of the interface. The loopback command configures loopback on an interface.

Duplex

Duplex mode of the interface.

Negotiation

Auto-negotiation mode of the interface.

Mdi

Network cable type of the interface.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Input peak rate

Maximum incoming packet rate.

Output peak rate

Maximum outgoing packet rate.

Input

Total number of received packets.

Output

Total number of sent packets.

Unicast

Number of unicast packets received or sent by the interface.

Multicast

Number of multicast packets received or sent by the interface.

Broadcast

Number of broadcast packets received or sent by the interface.

Jumbo

Number of jumbo frames received or sent by the interface.

Discard

Number of packets discarded by the interface during physical layer detection. These packets are discarded because the interface is congested.

The device does not support the Discard field for Layer 2 Ethernet interfaces.

Total Error

Number of error packets found during physical layer detection.

NOTE:

For AR502G-L-D-H, AR502GR-L-D-H, the value of the Total Error field includes the number of packets that are longer than jumbo frames.

CRC

Number of CRC error packets received by the interface.

Giants

Number of jumbo frames with correct Frame Check Sequence (FCS) received by the interface.

NOTE:

For the AR503GW-LM7, AR509GW-L-D-H, and AR509G-L-D-H, this item indicates the number of received packets with length exceeding the maximum jumbo frame size.

Jabbers

Number of jumbo frames with incorrect FCS received by the interface.

Throttles

Number of undersized frames with incorrect FCS received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.

Runts

Number of undersized frames with correct FCS values received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.

Symbols

Number of received frames with coding errors.

Ignoreds

Number of received MAC control frames with OpCode not being PAUSE.

Frames

Number of packets with incorrect 802.3 length.

Collisions

Number of frames that the interface stops sending when conflicts are detected during transmission.

ExcessiveCollisions

Number of frames that experience more than 16 consecutive conflict events and fail to be sent.

Late Collisions

Number of frames that experience conflict events and are delayed. The first 512 bits of these frames have been sent but these frames are delay because conflicts are detected.

Deferreds

Number of packets delayed because conflicts are detected before transmission.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Input bandwidth utilization

Inbound bandwidth usage.

Output bandwidth utilization

Outbound bandwidth usage.

# Display the running status, basic configuration, and packet forwarding on Layer 3 Ethernet interface Ethernet2/0/0.

<Huawei> display interface ethernet 2/0/0
Ethernet2/0/0 current state : UP                                       
Line protocol current state : UP                                              
Description:HUAWEI, AR Series, Ethernet2/0/0 Interface              
Route Port,The Maximum Transmit Unit is 1500                         
Internet Address is 192.168.4.2/24 
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0018-2000-0083 
Last physical up time   : 2010-09-08 15:35:37                         
Last physical down time : 2010-09-08 01:06:25                         
Current system time: 2010-10-21 16:07:53                                 
Port Mode: COMMON COPPER                                                        
Speed :  100,  Loopback: NONE                                                   
Duplex: FULL,  Negotiation: ENABLE                                              
Mdi   : AUTO,  Clock   : -                                                                       
Last 300 seconds input rate 0 bits/sec, 0 packets/sec                           
Last 300 seconds output rate 0 bits/sec, 0 packets/sec                          
Input peak rate 0 bits/sec,Record time: -                                       
Output peak rate 0 bits/sec,Record time: -                                      
                                                                                
Input:  126 packets, 34204 bytes                                                
  Unicast:                  0,  Multicast:                  52                  
  Broadcast:               74,  Total Error:                 0                  
                                                                                
  CRC:                      0,  Giants:                      0                  
  Jabbers:                  0,  Throttles:                   0                  
  Runts:                    0,  Symbols:                     0                  
  Ignoreds:                 0,  Frames:                      0  
                                                                                
Output:  2398 packets, 799486 bytes                                             
  Unicast:                  0,  Multicast:                1461                  
  Broadcast:             1477,  Total Error:                 53                  
                                                                                
  Collisions:               32,  ExcessiveCollisions:         21                  
  Late Collisions:          0,  Deferreds:                   0                  
                                                                                
    Input bandwidth utilization threshold : 100.00%                             
    Output bandwidth utilization threshold: 100.00%                             
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0%                                        
Table 4-4  Description of the display interface command output

Item

Description

current state

Current interface status:
  • DOWN: indicates that the interface is disabled.
  • UP: indicates that the interface is enabled.

Line protocol current state

Link layer protocol status of the interface:
  • DOWN: indicates that the link layer protocol of the interface fails or no IP address is assigned to the interface.
  • UP: indicates that the link layer protocol of the interface is running properly.

Description

Interface description.

To configure the description for an interface, run the description command.

The Maximum Transmit Unit is

MTU of the interface. For example, the default MTU of an Ethernet interface is 1500 bytes. Packets whose size is greater than the MTU are fragmented before being transmitted. If fragmentation is not allowed, the packets are discarded.

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 192.168.4.2/24."

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

IP Sending Frames' Format

Format of the frame contained in the sent IP packet, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP.

Hardware address

MAC address of the device.

Last physical up time

Last time the interface went Up physically. If this field displays "-", the physical status of the interface does not change.

Last physical down time

Last time the interface went Down physically. If this field displays "-", the physical status of the interface does not change.

Port Mode

Working mode of the interface:

  • COMMON COPPER: The interface works as an electrical interface.
  • COMMON FIBER: The interface works as an optical interface.

If the interface is a combo interface:

  • COMBO AUTO: The combo interface automatically selects the working mode.
  • FORCE FIBER: The combo interface is configured as an optical interface.
  • FORCE COPPER: The combo interface is configured as an electrical interface.

To configure the working mode for an interface, run the combo-port command.

Speed

Current rate of the interface.

  • In auto-negotiation mode, the auto speed command configures the rate of an interface.
  • In non-auto negotiation mode, the speed command configures the rate of an interface.

Loopback

Loopback configuration of the interface.

To configure loopback on an interface, run the loopback command.

Duplex

Duplex mode of the interface.

Negotiation

Auto-negotiation mode of the interface.

Mdi

Network cable type of the interface.

Clock

Clock mode of the combo interface.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Input peak rate

Maximum incoming packet rate.

Output peak rate

Maximum outgoing packet rate.

Input

Total number of received packets.

Output

Total number of sent packets.

Unicast

Number of unicast packets received or sent by the interface.

Multicast

Number of multicast packets received or sent by the interface.

Broadcast

Number of broadcast packets received or sent by the interface.

Total Error

Number of error packets found during physical layer detection.

NOTE:

For AR502G-L-D-H, AR502GR-L-D-H, the value of the Total Error field includes the number of packets that are longer than jumbo frames.

CRC

Number of CRC error packets received by the interface.

Giants

Number of jumbo frames with correct FCS received by the interface.

NOTE:

For the AR503GW-LM7, AR509GW-L-D-H, and AR509G-L-D-H, this item indicates the number of received packets with length exceeding the maximum jumbo frame size.

Jabbers

Number of jumbo frames with incorrect FCS received by the interface.

Throttles

Number of undersized frames with incorrect FCS received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.

Runts

Number of undersized frames with correct FCS values received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.

Symbols

Number of received frames with coding errors.

Ignoreds

Number of received MAC control frames with OpCode not being PAUSE.

Frames

Number of packets with incorrect 802.3 length.

Collisions

Number of frames that the interface stops sending when conflicts are detected during transmission.

ExcessiveCollisions

Number of frames that experience more than 16 consecutive conflict events and fail to be sent.

Late Collisions

Number of frames that experience conflict events and are delayed. The first 512 bits of these frames have been sent but these frames are delay because conflicts are detected.

Deferreds

Number of packets delayed because conflicts are detected before transmission.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Input bandwidth utilization

Inbound bandwidth usage.

Output bandwidth utilization

Outbound bandwidth usage.

Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 35129

Downloads: 101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next