Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-120
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Resetting Neighbors Using BGP Inbound Soft Reset
Perform this task to trigger an inbound soft reset of the specified address families for the specified group or
neighbors. The group is specified by the *, ip-address, as-number, or external keywords and arguments.
Resetting neighbors is useful if you change the inbound policy for the neighbors or any other
configuration that affects the sending or receiving of routing updates. If an inbound soft reset is
triggered, BGP sends a REFRESH request to the neighbor if the neighbor has advertised the
ROUTE_REFRESH capability. To determine whether the neighbor has advertised the
ROUTE_REFRESH capability, use the show bgp neighbors command.
SUMMARY STEPS
1. show bgp neighbors
2. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all | tunnel | mdt} | ipv6 {unicast |
multicast | all | labeled-unicast} | all {unicast | multicast | all | labeled-unicast | mdt | tunnel} |
vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast | labeled-unicast} | ipv6 unicast} | vpnv6
unicast} {* | ip-address | as as-number | external} soft [in [prefix-filter] | out]
DETAILED STEPS
Resetting Neighbors Using BGP Outbound Soft Reset
Perform this task to trigger an outbound soft reset of the specified address families for the specified group
or neighbors. The group is specified by the *, ip-address, as-number, or external keywords and
arguments.
Resetting neighbors is useful if you change the outbound policy for the neighbors or any other
configuration that affects the sending or receiving of routing updates.
If an outbound soft reset is triggered, BGP resends all routes for the address family to the given
neighbors.
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 {unicast | multicast |
labeled-unicast | all | tunnel | mdt} | ipv6
{unicast | multicast | all | labeled-unicast} |
all {unicast | multicast | all |
labeled-unicast | mdt | tunnel} | vpnv4 unicast
| vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast} | vpnv6
unicast} {* | ip-address | as as-number |
external} soft [in [prefix-filter] | out]
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.1 soft in
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.