< Home

Clearing Interface Traffic 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 interface within a period, clear the existing traffic statistics on this interface.

Interface statistics cannot be restored after they are cleared. Confirm your action before performing an operation.

Procedure

  • Run the reset counters interface [ interface-type [ interface-number [.subinterface-number ] ] ] command to clear the interface statistics.
  • Run the reset counters if-mib interface [ interface-type [ interface-number [.subinterface-number ] ] ] command to clear traffic statistics on an interface in the network management system.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic