No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring BGP Keepalive and Hold Timers

Configuring BGP Keepalive and Hold Timers

Context

Keepalive messages are used by BGP to maintain peer relationships.

  • If short Keepalive time and holdtime are set, BGP can detect a link fault quickly. This speeds up BGP network convergence, but increases the number of Keepalive messages on the network and loads of devices, and consumes more network bandwidth resources.
  • If long Keepalive time and holdtime are set, the number of Keepalive messages on the network is reduced, loads of devices are reduced, and fewer network bandwidths are consumed. If the Keepalive time is too long, BGP is unable to detect link status changes in a timely manner. This is unhelpful for implementing rapid BGP network convergence and may cause many packets to be lost.

Keepalive and hold timers can be configured either for all peers or peer groups, or for a specific peer or peer group. Keepalive and hold timers configured for a specific peer take precedence over those configured for the peer group of this peer. In addition, Keepalive and hold timers configured for a specific peer or peer group take precedence over those configured for all peers or peer groups.

Changing timer values using the timer command or the peer timer command interrupts BGP peer relationships between routers.

Setting the Keepalive time to 20s is recommended. If the Keepalive time is smaller than 20s, sessions between peers may be closed.

Procedure

  • Configure BGP timers for all peers or peer groups.
    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Run timer keepalive keepalive-time hold hold-time [ min-holdtime min-holdtime ]

      BGP timers are configured.

      The proper maximum interval at which Keepalive messages are sent is one third the holdtime. By default, the Keepalive time is 60s and the holdtime is 180s.

  • Configure BGP timers for a specific peer or peer group.
    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Run peer { ipv4-address | group-name | ipv6-address } timer keepalive keepalive-time hold hold-time [ min-holdtime min-holdtime ]

      The Keepalive and hold timers are configured for a specific peer or peer group.

      The proper maximum interval at which Keepalive messages are sent is one third the holdtime. By default, the Keepalive time is 60s and the holdtime is 180s.

Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034072

Views: 114289

Downloads: 168

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next