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 [ regexpas-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 bgpipv4-addressflap-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.