.. _example_protocols_bgp_timers_timers: ###### Timers ###### .. sidebar:: Contents .. contents:: :depth: 2 :local: Scenario to verify BGP **timer** configuration for both **holdtime** and **keepalive**. BGP uses two main timers to maintain neighbor sessions: - **Holdtime**: The maximum time (in seconds) that BGP waits between receiving successive keepalive or update messages from a peer before declaring the peer dead. If no message is received within the holdtime, the session is torn down. The default holdtime is typically 180 seconds. - **Keepalive**: The interval (in seconds) between keepalive messages sent to a peer. Keepalive messages confirm the session is still active. The default keepalive interval is typically 60 seconds (one-third of the holdtime). This test validates that both timer types can be configured on the BGP process and that the configured values appear correctly in the neighbor information output. Each timer is tested with both iBGP (same AS) and eBGP (different AS) sessions to ensure consistent behavior across session types. Routes are also verified to confirm that the session is fully functional with custom timer values. *************** Test BGP Timers *************** Description =========== Test BGP timer configuration across iBGP and eBGP sessions. Verifies that the configured timer value appears in BGP neighbor information and that routes are exchanged successfully with custom timer settings. Scenario ======== .. include:: timers/testbgptimers .. raw:: html