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


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


Configuration Guide - Interface Management

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the principles and configurations of interfaces and provides configuration examples.

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).
(Optional) Collecting Traffic Statistics on an Interface

(Optional) Collecting Traffic Statistics on an Interface


To check the network status or locate network faults, you can enable IPv4 or IPv6 packet statistics collection on an interface and view packet statistics on the interface, monitoring traffic on the interface.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    { ipv4 | ipv6 } * statistic enable { both | inbound | outbound }

    IPv4 or IPv6 packet statistics collection is enabled on the interface.


    Only the S5720EI, S5720HI, S6720EI, and S6720S-EI support IPv4 or IPv6 packet statistics collection on interfaces.

    This command and the statistic enable { both | inbound | outbound } command used in the VLANIF interface view are mutually exclusive.

    If this command and the traffic policy command are configured together on the S5720HI, traffic statistics will fail to be collected.

Checking the Configuration

Run the display counters [ interface interface-type interface-number ] protocol [ rate ] command in any view to check IPv4 and IPv6 packet statistics on an interface.

Updated: 2019-12-28

Document ID: EDOC1000141936

Views: 50415

Downloads: 783

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next