How to set the durations of the Hold timer and Keepalive timer of the BGP peer

You can run the peer timer command to set the durations of the Hold timer and Keepalive timer. This command specifies the timeout period of the BGP connection and the interval to send the Keepalive message. A longer timeout period can relieve the impact of link flapping, whereas a shorter timeout period makes the timer rapidly perceive link changes. After connections are established between two peers, the durations of the two timers are negotiated by the two peers and the shorter durations are adopted.

Scroll to top