show ip bgp flap-statistics
Displays information about flapping BGP routes.
Syntax: show ip bgp flap-statistics [filter-list filter-list-name | regexp regexp]
filter-list-name
Name of a defined as-path access list.
regexp
Autonomous system in the access list that uses a regular expression.
Description: Use the show ip bgp flap-statistics command to display information about all currently flapping routes.
Use the filter-list-name keyword and filter-list-name argument to display flapping routes permitted by the specified as-path filter list.
Use the regexp keyword and regexp argument to display flapping routes permitted by the specified regular expression.
Factory Default: None.
Command Mode: Executive and privileged.
Example 1: The following is sample output from the show ip bgp flap-statistics command:
router#show ip bgp flap-statistics
Status codes: * - valid Origin codes: i - IGP d - damped e - EGP h - history ? - incomplete s - suppressed > - best a - aggregate i - internal Network Next Hop Flaps Duration Reuse *>h 200.1.1.0/24 5.198.4.2 3 0:02:21 1:15:30
Example 2: The following is sample output from the show ip bgp flap-statistics command with the regexp keyword and argument. Only those routes that pass through autonomous system 41 are displayed:
router#show ip bgp flap-statistics regexp _41_
Status codes: * - valid Origin codes: i - IGP d - damped e - EGP h - history ? - incomplete s - suppressed > - best a - aggregate i - internal Network Next Hop Flaps Duration Reuse *>d 200.1.1.0/24 5.198.4.2 3 0:07:10 0:24:30
The following table describes the fields in the display:
Table 4-6. Fields Displayed by show ip bgp flap-statistics Field Description Status codes
Status of the entry in the table. Valid values are:
- * - Entry is valid.
- d - Route is currently damped.
- h - Route has earned some penalty points, but not enough points to exceed threshold. See bgp dampening.
- s - Route is suppressed. See bgp dampening.
- a - Entry is an aggregate route. See aggregate-address.
- i- Entry was learned from an IGP (IS-IS or OSPF) in the local autonomous system.
Origin codes
Identifies the origin of the entry. Valid values are listed below.
- i - Entry originated in IGP. Entry was advertised by the network route configuration command.
- e - Entry originated in EGP.
- ? - Entry origin is not clear. Reachability information learned from some other source (usually indicates route is redistributed from IGP into BGP).
- > - Entry identifies the best route for that network.
Network
Internet address of a network.
Next Hop
IP address of the next system used when forwarding packets to the destination network. 0.0.0.0 in this field indicates the router has non-BGP routes to the network.
Flaps
Number of times this route has failed and returned (flapped).
Duration
Elapsed time since the first penalty points were assessed.
Reuse
- When the route is damped: Amount of time until the reuse-timer expires.
- When the route has accumulated penalty points, but has not been withdrawn: Amount of time until the accumulated penalties equal 0 and the history flag is removed for this route. See show ip bgp dampened-paths.
Related Commands: bgp dampening
clear ip bgp flap-statistics
show ip bgp
show ip bgp dampened-paths
ip as-path access-list
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd53.html
Last Updated: 05/10/04 at 16:36:55