show ip bgp flap-statistics

Displays BGP4 route-dampening statistics for all dampened routes with a variety of options.

show ip bgp flap-statistics
show ip bgp flap-statistics ip-addr { / mask } [ longer-prefix ]
show ip bgp flap-statistics as-path-filter name
show ip bgp flap-statistics neighbor ip-addr
show ip bgp flap-statistics regular-expression name
ip-addr
IPv4 address of a specified route in dotted-decimal notation.
mask
IPv4 mask of a specified route in CIDR notation.
longer-prefixes
Displays statistics for routes that match the specified route or have a longer prefix than the specified route.
as-path-filter name
Specifies an AS-path filter.
neighbor
Displays flap statistics only for routes learned from the specified neighbor.
ip-addr
IPv4 address of the neighbor.
regular-expression
Specifies a regular expression in the display output on which to filter.
name
Name of an AS-path filter or regular expression.

User EXEC mode

The show ip bgp flap-statistics command displays the following information:

Output field Description

Total number of flapping routes

The total number of routes in the BGP4 route table that have changed state and have been marked as flapping routes.

Status code

Indicates the dampening status of the route, which can be one of the following:

  • > - This is the best route among those in the BGP4 route table to the route destination.
  • d - This route is currently dampened, and unusable.
  • h - The route has a history of flapping and is unreachable now.
  • * - The route has a history of flapping but is currently usable.

Network

The destination network of the route.

From

The neighbor that sent the route to the device.

Flaps

The number of flaps the route has experienced.

Since

The amount of time since the first flap of this route.

Reuse

The amount of time remaining until this route will be un-suppressed and can be used again.

Path

Shows the AS-path information for the route.

The following example displays route dampening statistics.


device> show ip bgp flap-statistics
Total number of flapping routes: 414
    Status Code  >:best d:damped h:history *:valid
    Network            From         Flaps Since    Reuse    Path
h>  10.50.206.0/23   10.90.213.77   1     0 :0 :13 0 :0 :0  65001 4355 1 701
h>  10.255.192.0/20  10.90.213.77   1     0 :0 :13 0 :0 :0  65001 4355 1 7018
h>  10.252.165.0/24  10.90.213.77   1     0 :0 :13 0 :0 :0  65001 4355 1 7018
h>  10.50.208.0/23   10.90.213.77   1     0 :0 :13 0 :0 :0  65001 4355 1 701
h>  10.33.0.0/16     10.90.213.77   1     0 :0 :13 0 :0 :0  65001 4355 1 701
*>  10.17.220.0/24   10.90.213.77   1     0 :1 :4  0 :0 :0  65001 4355 701 62