• Use the no version to disable advertisement of the graceful restart capability. Use the
default version to restore the default condition, of not advertising this capability.
• See bgp graceful-restart.
bgp graceful-restart path-selection-defer-time-limit
• Use to set the maximum time a restarted BGP speaker defers reinitiating the best-path
selection process.
• This command takes effect immediately and automatically bounces the session.
• Example
host1(config-router)#bgp graceful-restart path-selection-defer-time-limit 180
• Use the no version to restore the default value, 120 seconds.
• See bgp graceful-restart path-selection-defer-time-limit.
bgp graceful-restart restart-time
• Use to set the time BGP advertises to all peers within which it expects to reestablish
a session after restarting. Peers flush stale routes from the speaker if the session is not
restarted within this period.
• Specify an interval shorter than the stalepaths time.
• This command takes effect immediately and automatically bounces the session.
• Example
host1(config-router)#bgp graceful-restart restart-time 240
• Use the no version to restore the default value, 120 seconds.
• See bgp graceful-restart restart-time.
bgp graceful-restart stalepaths-time
• Use to set the maximum time BGP waits to receive an End-of-RIB marker from any
restarted peer before flushing all remaining stale routes from that peer. The timer
begins when BGP recognizes that the peer session has gone down.
• This command prevents an excessive delay in BGP reconvergence due to a peer that
brings a session back up but is slow to send fresh routes.
• Specify an interval longer than the restart time.
• This command takes effect immediately and automatically bounces the session.
• Example
host1(config-router)#bgp graceful-restart stalepaths-time 480
• Use the no version to restore the default value, 360 seconds.
• See bgp graceful-restart stalepaths-time.
clear ip bgp wait-end-of-rib
127Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing