# Monitoring BGP Flap Statistics

#### Purpose

Display information about BGP flap statistics

The show ip bgp flap-statistics and show bgp ipv6 flap-statistics commands display similar information.

#### Action

To display information about flap statistics:

    host1#show ip bgp flap-statistics
    Local BGP identifier 192.168.1.232, local AS 100
      Route flap dampening is enabled
      Default decay half-life is 15 minutes
      Default cutoff threshold is 2000, default reuse threshold is 750
      Default maximum hold-down time is 60 minutes
      307 paths have active route flap histories (27016 bytes used)
      5 paths are suppressed
                                                      Figure      Time until
    Prefix             Peer            Status         of Merit     Reuse/Remove
    24.201.0.0/18      192.168.1.158   Available       925         00:58:23
    24.201.64.0/18     192.168.1.158   Available       925         00:58:23
    52.128.224.0/19    192.168.1.158   Available       750         00:54:12
    61.8.0.0/19        192.168.1.158   Available       993         00:59:53
    61.8.30.0/24       192.168.1.158   Available       993         00:59:53
    62.229.73.0/24     192.168.1.158   Unreachable     925         00:58:23
    63.69.150.0/24     192.168.1.158   Available       750         00:54:12

#### Meaning

Table 33 lists the show ip bgp flap-statistics command output fields.

Table 33: show ip bgp flap-statistics Output Fields

Field Name | Field Description
--- | ---
Local BGP identifier | BGP router ID of the local router
local AS | Local autonomous system number
Route flap dampening | Status of route flap dampening (enabled or disabled)
Default decay half-life | Time (in minutes) after which a penalty is decreased. After the route has been assigned a penalty, the penalty is decreased by half after the half-life period (which is 15 minutes by default).
Default cutoff threshold | Value of the penalty for a flapping route below which the route is unsuppressed
Default reuse threshold | Time (in hours:minutes:seconds) after which the path will be made available
Default maximum hold-down time | Interval, in seconds, after not receiving a keepalive message that the software declares a peer dead
route flap history | Status of route flap history for route paths
Prefix | Prefix for the routing table entry
Peer | IP address of BGP peer
Status | Status of route dampening of the route path
Figure of Merit | A measure of the route's stability. Higher values indicate more recent route flap activity or less stability.
Time until Reuse/Remove | Time until the route is either reused (if currently suppressed) or its history entry is removed (if currently available)

#### Related Documentation

- show bgp ipv6 flap-statistics
- show ip bgp flap-statistics