Configure BGP Delayed Route Calculation

BGP delayed route calculation delays the BGP BEST-path selection until BGP receives the route update information from its RIB-IN peers.

About this task

BGP delayed route calculation is disabled by default. When you enable the calculation, the default minimum delay, maximum delay, and message idle time are also enabled. You can change these values. For more information, see BGP Fast Convergence with Delayed Route Calculation.
Table 1. BEST path selection delay
Setting Description

min-delay

The minimum time that a peer spends in read-only mode and by which the BGP-BEST path selection is delayed. The default is 180 seconds.

max-delay

The maximum time that a peer spends in read-only mode and by which the BGP-BEST path selection is delayed.

msg-idle-time

The number of seconds to wait for an update from a peer before moving the peer out of the learning phase. The default is 2 seconds.

Procedure

  1. Access global configuration mode.
    device# configure terminal
    
  2. Access BGP router configuration mode.
    device(config)# router bgp
  3. Enable BGP delayed route calculation.
    device(config-bgp-router)# init-route-calc-delay
  4. (Optional) Configure the minimum delay in seconds.
    device(config-bgp-router)# init-route-calc-delay min-delay 360
    This example configures a minimum delay of 360 seconds.
  5. (Optional) Configure the maximum delay in seconds.
    device(config-bgp-router)# init-route-calc-delay max-delay 600
    This example configures a maximum delay of 600 seconds.
  6. (Optional) Configure the message idle time in seconds.
    device(config-bgp-router)# init-route-calc-delay msg-idle-time 10
    This example configures a message idle time of 10 seconds.

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# init-route-calc-delay
device(config-bgp-router)# init-route-calc-delay min-delay 360
device(config-bgp-router)# init-route-calc-delay max-delay 600
device(config-bgp-router)# init-route-calc-delay msg-idle-time 10