clear ip bgp flap-count

This command clears the route-flap count for the specified route-prefix.

Syntax

clear ip bgp flap-count ip-prefix/length

Parameters

ip-prefix/length Specifies a BGP prefix and length as a valid route.

Defaults

None.

Mode

All command modes.

Example

The following example clears the flap count statistic for route 3.0.0.0/8:

System(su)->clear ip bgp 3.0.0.0/8
System(su)->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: 185, Flap Count 0, Flap time remaining 295 seconds