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

AR500, AR510, and AR530 V200R007 Commands Reference

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 counters

display interface counters

Function

The display interface counters command displays packet statistics on physical interfaces.

Format

display interface [ interface-type ] counters { inbound | outbound }

Parameters

Parameter

Description

Value

interface-type

Displays statistics about packets sent and received by an interface.

-

inbound

Displays statistics about packets received by an interface.

-

outbound

Displays statistics about packets sent by an interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display interface counters command can be used when you need to:

  • Check whether an interface is sending and receiving packets normally during interface fault diagnosis.

  • Collect traffic statistics on an interface.

  • Check whether an interface can send and receive multicast packets after the multicast function is configured.

If no interface type is specified, the statistics of packets sent and received by all interfaces are displayed. If an interface type is specified but no interface number is specified, the statistics about packets sent and received by all interfaces of this type are displayed.

Follow-up Procedure

If you want to collect new traffic statistics, run the reset counters interface command to clear the current statistics.

Example

# Display statistics about packets received by an interface.

<Huawei> display interface gigabitethernet counters inbound
Interface            Total        UniCast      MultiCast      BroadCast      Err
                    (pkts)         (pkts)         (pkts)         (pkts)   (pkts)
GE0/0/0              45403           8196          11094          26113        0
GE0/0/1                  0              0              0              0        0
GE0/0/2               2778              0              0           2778        0
GE7/0/0                  0              0              0              0        0
GE7/0/1                  0              0              0              0        0
GE7/0/2                  0              0              0              0        0
GE7/0/3                  0              0              0              0        0
GE7/0/4                  0              0              0              0        0
GE7/0/5              47182              1          47176              5        0
GE7/0/6                  0              0              0              0        0
GE7/0/7                  0              0              0              0        0
GE7/0/8                  0              0              0              0        0
GE7/0/9                  0              0              0              0        0
GE7/0/10                 0              0              0              0        0
GE7/0/11                 0              0              0              0        0
GE7/0/12                 0              0              0              0        0
GE7/0/13                 0              0              0              0        0
GE7/0/14                 0              0              0              0        0
GE7/0/15                 0              0              0              0        0
GE7/0/16                 0              0              0              0        0
GE7/0/17                 0              0              0              0        0
GE7/0/18                 0              0              0              0        0
GE7/0/19                 0              0              0              0        0
GE7/0/20                 0              0              0              0        0
GE7/0/21                 0              0              0              0        0
GE7/0/22                 0              0              0              0        0
GE7/0/23                 0              0              0              0        0
                                                                                
NOTICE                                                                          
  OverFlow :more than 14 decimal digits (8 digits for column "Err").            
        -- :not supported.        
Table 4-8  Description of the display interface counters command output

Item

Description

Interface

Type and number of an interface.

Total

Total number of packets sent and received by an interface.

UniCast

Number of unicast packets sent or received by an interface.

MultiCast

Number of multicast packets sent or received by an interface.

BroadCast

Number of broadcast packets sent or received by an interface.

Err

Number of error packets sent or received by an interface.

Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 59067

Downloads: 105

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