Setting the session retry timer

About setting the session retry timer

To speed up session establishment to a peer or peer group, set a small session retry timer. If the BGP session flaps, you can set a large session retry timer to reduce the impact and speed up route convergence.

Restrictions and guidelines

The timer set by the peer timer connect-retry command takes precedence over the timer set by the timer connect-retry command.

Procedure

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP instance view or BGP-VPN instance view.

  • Enter BGP instance view:bgp as-number [ instance instance-name ]

  • Enter BGP-VPN instance view:

    1. bgp as-number [ instance instance-name ]

    2. ip vpn-instance vpn-instance-name

N/A

3. Set the session retry timer.

  • Set the session retry timer for all peers or peer groups:timer connect-retry retry-time

  • Set the session retry timer for a peer or peer group:peer { group-name | ipv4-address [ mask-length ] | ipv6-address [ prefix-length ] } timer connect-retry retry-time

By default, the session retry timer is 32 seconds for a peer or peer group.