clear ip bgp flap-all-stats

This command clears all route flap statistics and state for the specified route prefix.

Syntax

clear ip bgp flap-all-stats ip-prefix/length

Parameters

ip-prefix/length Specifies a route prefix to clear.

Defaults

None.

Mode

All command modes.

Usage

The clear ip bgp flap-all-stats command unsuppresses the route, if the route is suppressed when this command is issued.

Example

The following example specifies to clear all BGP route-flap statistics for prefix 3.0.0.0/8:

System(rw)->clear ip bgp flap-all-stats 1.2.3.4/24
System(rw)->show ip bgp 3.0.0.0/8 detail
Route status codes: > - active
    Network                  Next Hop              Rib MED Local-Pref Origin AS Path
    3.0.0.0/8                192.168.12.111        U   0      100    Inc     10
Community attributes in route:
Extended Community attributes in route:
Route Flap Dampening configuration file name: flap1
Is route suppressed? Yes
Flap penalty: 0, Flap Count 0, Flap time remaining 0 seconds