Clearing Caches, Tables, And Databases - Cisco ASR 9000 Series Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Clearing Caches, Tables, and Databases

Command or Action
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast 10.0.0.3
graceful soft out
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
Command or Action
Step 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
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 172.20.1.1
Step 2
clear bgp external
Example:
RP/0/RSP0/CPU0:router# clear bgp external
Step 3
clear bgp *
Example:
RP/0/RSP0/CPU0:router# clear bgp *
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
130
Purpose
• The as-number argument specifies that all neighbors
that match the autonomous system number be reset.
• The external keyword specifies that all external
neighbors are reset.
The graceful keyword specifies a graceful restart.
Purpose
Clears a specified neighbor.
Clears all external peers.
Clears all BGP neighbors.
Implementing BGP
OL-30423-03

Advertisement

Table of Contents
loading

Table of Contents