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.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
Clearing Traffic Statistics on an Interface

Clearing Traffic Statistics on an Interface

Run the reset interface counters [ interface-type [ interface-number [.subinterface-number ] ] ] command in the user view to clear traffic statistics on a specified interface.

# Clear traffic statistics on all interfaces.
<HUAWEI> reset interface counters
# Clear traffic statistics on 10GE1/0/1.
<HUAWEI> reset interface counters 10ge 1/0/1
# Clear traffic statistics on VLANIF10.
<HUAWEI> reset interface counters vlanif 10
  • If the interface type is not specified, traffic statistics on all types of interfaces are cleared. If the interface type is specified but the interface number is not specified, traffic statistics on all interfaces of the specified type are cleared.

  • The reset interface counters command clears counters of packets received and sent on the interface, which are displayed in the last part of the display interface command output. Traffic statistics cannot be restored after being cleared. Exercise caution when deciding to clear them.

Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 191858

Downloads: 3212

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