Clearing the Statistics of a Tunnel Interface

When you need to clear the statistics of a tunnel interface, you can run the reset commands to clear statistics about the Keepalive packets and Keepalive Response packets sent and received by a GRE tunnel interface.

Procedure

  • In the user view, run reset counters interface tunnel [ interface-number ]

    Statistics about the tunnel interface are cleared.

  • Clear statistics about Keepalive packets on the tunnel interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface tunnel interface-number

      The tunnel interface view is displayed.

    3. Run reset keepalive packets count

      The statistics about Keepalive packets on the tunnel interface are cleared.

      You can run the reset keepalive packets count command only in the tunnel interface view, and the interface tunnel protocol must be GRE.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >