Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-73
Cisco IOS XR Routing Configuration Guide
Clearing Caches, Tables and Databases
Perform this task to remove all contents of a particular cache, table, or database. Clearing a cache, table,
or database can become necessary when the contents of the particular structure have become, or are
suspected to be, invalid.
SUMMARY STEPS
1. clear bgp ip-address
2. clear bgp external
3. clear bgp *
DETAILED STEPS
Displaying System and Network Statistics
Perform this task to display specific statistics, such as the contents of BGP routing tables, caches, and
databases. Information provided can be used to determine resource usage and solve network problems.
You can also display information about node reachability and discover the routing path that the packets
of your device are taking through the network.
SUMMARY STEPS
1. show bgp cidr-only
2. show bgp count-only
3. show bgp community community-list [exact-match]
4. show bgp regexp regular-expression
5. show bgp
6. show bgp neighbors ip-address [advertised-routes | dampened-routes | flap-statistics |
performance-statistics | received prefix-filter | routes]
7. show bgp paths
Command or Action Purpose
Step 1
clear bgp
ip-address
Example:
RP/0/RP0/CPU0:router# clear bgp 172.20.1.1
Clears neighbor 172.20.1.1.
Step 2
clear bgp external
Example:
RP/0/RP0/CPU0:router# clear bgp external
Clears all external peers.
Step 3
clear bgp *
Example:
RP/0/RP0/CPU0:router# clear bgp *
Clears all BGP neighbors.