Resetting Neighbors Using Bgp Hard Reset - Cisco ASR 9000 Series Configuration Manual

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

Advertisement

Implementing BGP
DETAILED STEPS
Command or Action
Step 1
show bgp neighbors
Example:
RP/0/RSP0/CPU0:router# show bgp neighbors
Step 2
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 | as as-number | external
} clear bgp { ipv4 | ipv6} { unicast | labeled-unicast }
soft [ in [ prefix-filter ] | ]
Example:
RP/0/RSP0/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. 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 | as as-number | external } [ graceful ] soft [ in [ prefix-filter ] | out ] clear bgp { ipv4
| ipv6} { unicast | labeled-unicast }
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 | as as-number | external } [
graceful ] soft [ in [ prefix-filter ] | out ] clear bgp { ipv4
| ipv6} { unicast | labeled-unicast }
OL-30423-03
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
Resetting Neighbors Using BGP Hard Reset
Purpose
Verifies that received route refresh capability from the
neighbor is enabled.
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.
Purpose
Clears a BGP neighbor.
• The * keyword resets all BGP neighbors.
• The ip-address argument specifies the address of the
neighbor to be reset.
129

Advertisement

Table of Contents
loading

Table of Contents