Clearing BGP Statistics
Context
BGP statistics cannot be restored after being cleared. Exercise caution when you clear BGP statistics.
Procedure
- To clear route flapping statistics, run the reset bgp flap-info [ regexp as-path-regexp | as-path-filter { as-path-filter-number | as-path-filter-name } | network-address [ mask | mask-length ] ] command in the user view.
- To clear route flapping statistics on a specified peer, run the reset bgp ipv4-address flap-info command in the user view.
- To clear route dampening statistics and release suppressed routes, run the reset bgp dampening [ ipv4-address [ mask | mask-length ] ] command in the user view.
- To clear MBGP route dampening statistics, run the reset bgp multicast dampening [ ip-address [ mask | mask-length ] ] command in the user view.
- To clear MBGP route flapping statistics, run the reset bgp multicast flap-info [ ip-address [ mask | mask-length ] | as-path-filter { as-path-list-number | as-path-list-name } | regrexp regrexp ] command in the user view.