
DETAILED STEPS
Purpose
Command or Action
Verifies that received route refresh capability from the
neighbor is enabled.
show bgp neighbors
Example:
Step 1
RP/0/RP0/CPU0:router# show bgp neighbors
Soft resets a BGP neighbor.
out
Step 2
Example:
• The
*
keyword resets all BGP neighbors.
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.2 soft out
• 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.
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
Purpose
Command or Action
Clears a BGP neighbor.
}
Example:
Step 1
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.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
79
Implementing BGP
Resetting Neighbors Using BGP Hard Reset