set protocols bgp update-delay


The set protocols bgp update-delay command enable read-only mode by setting the maximum delay timer.


Command Syntax
set protocols bgp [vrf <vrf-name>update-delay {delay <maximum delay-timer>| establish-wait <establish-wait-timer>}
delete protocols bgp [vrf <vrf-name> update-delay delay [delay <maximum delay-timer>| establish-wait <establish-wait-timer>]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

delay <maximum delay-timer>

Specifies a maximum delay timer. The value is an integer, in second, that ranges from 0 to 3600. The default time for this is 0 seconds, which disables read-only mode.

establish-wait <establish-wait-timer>Optional. Specifies a establish wait timer. The value is an integer, in second, that ranges from 0 to 3600. When specified, it should be less than the maximum delay timer.


Usage Guidelines

To enable read-only mode, you set the maximum delay timer and, optionally, the establish-wait timer. Read-only mode begins as soon as the first peer reaches its established state and the maximum delay timer starts, and continues until either of the following two conditions are met:

  • All the configured peers (except the shutdown peers) have sent an explicit EOR (End-Of-RIB) or an implicit EOR. The first keep-alive after BGP reaches the established state is considered an implicit EOR. If you specify the establish-wait option, BGP only considers peers that have reached the established state from the moment the maximum delay timer starts until the establish-wait period ends. The minimum set of established peers for which EOR is expected are the peers that are established during the establish-wait window, not necessarily all the configured neighbors.
  • The timer reaches the configured maximum delay.


Example
• The following example commands enable read-only mode by setting the maximum delay timer to 300 seconds.

admin@XorPlus# set protocols bgp update-delay delay 300
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.