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

Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R013C00

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, IP Routing Table Management, and PBR.
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 less network bandwidth is consumed. If the Keepalive time is too long, BGP is unable to detect link status changes in a timely manner. This hinders the implementation of rapid BGP network convergence and may cause significant packet loss.

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 the 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 switches.

Setting the Keepalive time to 20s is recommended. If the Keepalive time is less 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-04-08

Document ID: EDOC1100065744

Views: 64390

Downloads: 50

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