Clearing BGP Statistics

This section describes how to clear the statistics about flapping routes and dampened routes.

Context

BGP statistics cannot be restored after being cleared. Therefore, exercise caution when running the command.

Procedure

  • To clear statistics about flapping routes, run the reset bgp flap-info [ regexp as-path-regexp | as-path-filter { as-path-filter-number | as-path-filter-name } | ipv4-address [ mask | mask-length ] ] command in the user view.
  • To clear statistics about flapping routes of a specified peer, run the reset bgp ipv4-address flap-info command in the user view.
  • To clear statistics about dampened routes and release dampened routes, run the reset bgp dampening [ ipv4-address [ mask | mask-length ] ] command in the user view.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >