Resetting Neighbors Using Bgp Hard Reset; Clearing Caches, Tables, And Databases - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Implementing BGP
DETAILED STEPS
Command or Action
Step 1
show bgp neighbors
Example:
RP/0/RP0/CPU0:router# show bgp neighbors
Step 2
out
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.2 soft out

Resetting Neighbors Using BGP Hard Reset

Perform this task to reset neighbors using a hard reset. A hard reset 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. If the graceful keyword is specified, the routes from the neighbor are not removed
from the BGP table immediately, but are marked as stale. After the session is re-established, any stale route
that has not been received again from the neighbor is removed.
SUMMARY STEPS
1. }
DETAILED STEPS
Command or Action
Step 1
}
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.3

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.
Purpose
Verifies that received route refresh capability from the
neighbor is enabled.
Soft resets a BGP neighbor.
Purpose
Clears a BGP neighbor.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
Resetting Neighbors Using BGP Hard Reset
• The * keyword resets all BGP neighbors.
• The ip-address argument specifies the address of the
neighbor to be reset.
• 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.
79

Advertisement

Table of Contents
loading

Table of Contents