![Huawei S6700 Series Configuration Manual Download Page 442](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517442.webp)
The ConnectRetry timer configured for a peer or peer group takes precedence over
that configured for all peers or peer groups.
----End
7.12.3 Configuring BGP Keepalive and Hold Timers
The values of BGP Keepalive and hold timers determine the speed at which BGP detects network
faults. You can adjust the values of these timers to improve network performance.
Context
Keepalive messages are used by BGP to maintain peer relationships. After establishing a BGP
connection, two peers periodically send Keepalive messages to each other to detect BGP peer
relationship status. If a device receives no Keepalive message from its peer after the hold timer
expires, the device considers the BGP connection to be closed.
l
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 switches, and consumes more network bandwidth resources.
l
If long Keepalive time and holdtime are set, the number of Keepalive messages on the
network is reduced. This reduces loads of switches. 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.
CAUTION
Changing timer values using the
timer
command or the
peer timer
command interrupts BGP
peer relationships between switches. Therefore, exercise caution before changing the value of
a timer.
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.
Procedure
l
Configure BGP timers for all peers or peer groups.
Perform the following steps on a BGP switch:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
timer
keepalive
keepalive-time
hold
hold-time
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
7 BGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
423