PurposeCommand or Action
(Optional) Monitors the flaps of all paths that
are flapping. The statistics are deleted when
the route is not suppressed and is stable.
show ip bgp flap-statistics [{regexp regexp} |
{filter-list list} | {address mask [longer-prefix]}]
Example:
Device# show ip bgp flap-statistics
Step 6
(Optional) Displays the dampened routes,
including the time remaining before they are
suppressed.
show ip bgp dampened-paths
Example:
Device# show pi bgp dampened-paths
Step 7
(Optional) Clears BGP flap statistics to make
it less likely that a route will be dampened.
clear ip bgp flap-statistics [{regexp regexp} |
{filter-list list} | {address mask [longer-prefix]}
Example:
Device# clear ip bgp flap-statistics
Step 8
(Optional) Clears route dampening
information, and unsuppress the suppressed
routes.
clear ip bgp dampening
Example:
Device# clear ip bgp dampening
Step 9
(Optional) Saves your entries in the
configuration file.
copy running-config startup-config
Example:
Device# copy running-config startup-config
Step 10
Monitoring and Maintaining BGP
You can remove all contents of a particular cache, table, or database. This might be necessary when the
contents of the particular structure have become or are suspected to be invalid.
You can display specific statistics, such as the contents of BGP routing tables, caches, and databases. You
can use the information to get resource utilization and solve network problems. You can also display information
about node reachability and discover the routing path your device’s packets are taking through the network.
The table given below lists the privileged EXEC commands for clearing and displaying BGP. For explanations
of the display fields, see the Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release 12.4.
Table 15: IP BGP Clear and Show Commands
Resets a particular BGP connection.
clear ip bgp address
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
145
Configuring IP Unicast Routing
Monitoring and Maintaining BGP