
SUMMARY STEPS
1.
clear bgp
{
ipv4
{
unicast
|
labeled-unicast
} |
ipv6
{
unicast
|
labeled-unicast
}
2.
clear bgp external
3.
clear bgp *
DETAILED STEPS
Purpose
Command or Action
Clears a specified neighbor.
clear bgp
{
ipv4
{
unicast
|
labeled-unicast
} |
ipv6
{
unicast
|
labeled-unicast
}
Step 1
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 172.20.1.1
Clears all external peers.
clear bgp external
Example:
Step 2
RP/0/RP0/CPU0:router# clear bgp external
Clears all BGP neighbors.
clear bgp *
Example:
Step 3
RP/0/RP0/CPU0:router# clear bgp *
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
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
80
Implementing BGP
Displaying System and Network Statistics