Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-123
Cisco IOS XR Routing Configuration Guide
OL-14356-01
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 community community-list [exact-match]
3. show bgp regexp regular-expression
4. show bgp
5. show bgp neighbors ip-address [advertised-routes | dampened-routes | flap-statistics |
performance-statistics | received prefix-filter | routes]
6. show bgp paths
7. show bgp neighbor-group group-name configuration
8. show bgp summary
Command or Action Purpose
Step 1
clear bgp {ipv4 {unicast | multicast |
labeled-unicast | all | tunnel | mdt} | ipv6
{unicast | multicast | all | labeled-unicast} |
all {unicast | multicast | all |
labeled-unicast | mdt | tunnel} | vpnv4 unicast
| vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast} | vpnv6
unicast} ip-address
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 172.20.1.1
Clears a specified neighbor.
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.