No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
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 Interface Statistics
Clearing Interface Statistics
Context
To monitor the status of an interface or locate faults
on the interface, collect traffic statistics on the interface. Before
collecting traffic statistics on an Ethernet interface, clear the
existing traffic statistics on this interface.
Interface statistics cannot be restored after they are cleared.
Confirm your action before you perform the operations.
Procedure
Run the reset counters interface [ interface-type [ interface-number ] ] command to clear interface statistics.
Run the reset counters
if-mib interface [ interface-type [ interface-number ] ] command to clear statistics
on the network management interface.