Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-72
Cisco IOS XR Routing Configuration Guide
SUMMARY STEPS
1. show bgp neighbors
2. clear bgp {ipv4 | ipv6 | all} {unicast | multicast | all} {* | ip-address | as-number | external} soft
out
DETAILED STEPS
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. clear bgp {* | ip-address | as-number | external} [graceful]
DETAILED STEPS
Command or Action Purpose
Step 1
show bgp neighbors
Example:
RP/0/RP0/CPU0:router# show bgp neighbors
Verifies that received route refresh capability from the
neighbor is enabled.
Step 2
clear bgp {ipv4 | ipv6 | all} {unicast |
multicast | all} {* |
ip-address
|
as-number
|
external} soft out
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.2 soft out
Soft resets a BGP neighbor.
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.
Command or Action Purpose
Step 1
clear bgp {* |
ip-address
|
as-number
|
external} [graceful]
Example:
RP/0/RP0/CPU0:router# clear bgp 10.0.0.3
Clears a BGP neighbor. The graceful keyword specifies a
graceful restart.