![Huawei S6700 Series Configuration Manual Download Page 540](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517540.webp)
The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
peer
{
ipv6-address
|
group-name
}
timer
keepalive
keepalive-time
hold
hold-time
The interval for sending Keepalive messages and the Hold time of a peer (or peer group) are set.
In actual applications, the value of
hold-time
is at least three times that of
keepalive-time
.
By default, the Keepalive time is 60s and the Hold time is 180s.
NOTE
Setting the hold interval of a BGP peer to be longer than 20s is recommended. If the hold interval of a BGP
peer is shorter than 20s, the session may be closed.
Note the following when you set the values of
keepalive-time
and
hold-time
:
l
When the values of
keepalive-time
and
hold-time
are 0 at the same time, the BGP timer
becomes invalid. That is, BGP does not detect link faults according to the timer.
l
The value of
hold-time
is far greater than that of
keepalive-time
, such as,
timer keepalive 1
hold 65535
. If the Hold time is too long, the link fault cannot be detected on time.
----End
8.6.3 Setting the BGP4+ ConnectRetry Interval
You can speed up or slow down the establishment of BGP4+ peer relationships to adapt the
network changes by changing the BGP4+ ConnectRetry interval.
Context
When BGP4+ initiates a TCP connection, the ConnectRetry timer is stopped if the TCP
connection is established successfully. If the first attempt to establish a TCP connection fails,
BGP4+ tries again to establish the TCP connection after the ConnectRetry timer expires. The
ConnectRetry interval can be adjusted as needed.
l
The ConnectRetry interval can be reduced in order to lessen the time BGP4+ waits to retry
establishing a TCP connection after the first attempt fails.
l
To suppress route flapping caused by constant peer flapping, the ConnectRetry interval can
be increased to speed up route convergence.
Do as follows on the BGP4+ switch:
Procedure
l
Set a ConnectRetry interval globally.
Do as follows on the BGP4+ switch:
1.
Run:
system-view
The system view is displayed.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
521