EasyManua.ls Logo

Cisco ASR 9000 Series

Cisco ASR 9000 Series
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
The as-number argument specifies that all neighbors
that match the autonomous system number be reset.
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast 10.0.0.3
graceful soft out
The external keyword specifies that all external
neighbors are reset.
The graceful keyword specifies a graceful restart.
Clearing Caches, Tables, and Databases
Perform this task to remove all contents of a particular cache, table, or database. The clear bgp command
resets the sessions of the specified group of neighbors (hard reset); it removes the TCP connection to the
neighbor, removes all routes received from the neighbor from the BGP table, and then re-establishes the
session with the neighbor. 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 { ipv4 { unicast | multicast | all | tunnel } | ipv6 unicast | all { unicast | multicast
| all | tunnel } | vpnv4 unicast | vrf { vrf-name | all } { ipv4 unicast | ipv6 unicast } ip-address
2.
clear bgp external
3.
clear bgp *
DETAILED STEPS
PurposeCommand or Action
Clears a specified neighbor.clear bgp { ipv4 { unicast | multicast | all | tunnel } | ipv6 unicast
| all { unicast | multicast | all | tunnel } | vpnv4 unicast | vrf {
vrf-name | all } { ipv4 unicast | ipv6 unicast } ip-address
Step 1
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 172.20.1.1
Clears all external peers.clear bgp external
Example:
RP/0/RSP0/CPU0:router# clear bgp external
Step 2
Clears all BGP neighbors.clear bgp *
Example:
RP/0/RSP0/CPU0:router# clear bgp *
Step 3
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
130 OL-30423-03
Implementing BGP
Clearing Caches, Tables, and Databases

Table of Contents

Other manuals for Cisco ASR 9000 Series

Related product manuals