![H3C S5500-EI series Скачать руководство пользователя страница 237](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960237.webp)
220
To do…
Use the command…
Remarks
Configure BGP to ignore the first AS number
of eBGP route updates
ignore-first-as
Required
By default, BGP checks the
first AS number of eBGP
route updates.
Tuning and optimizing BGP networks
Configuration prerequisites
BGP connections must be created.
Configuring the BGP keepalive interval and holdtime
After establishing a BGP connection, two routers send keepalive messages periodically to each other to
keep the connection. If a router receives no keepalive or update message from the peer within the
holdtime, it tears down the connection.
You can configure the keepalive interval and holdtime globally or for a specific peer or peer group. The
actual keepalive interval and holdtime depend on the following cases:
•
If the holdtime settings on the local and peer routers are different, the smaller one is used.
•
If the keepalive interval is 0 and the negotiated holdtime is not 0, the actual keepalive interval
equals one-third of the holdtime.
•
If the keepalive interval is not 0, the actual keepalive interval is the smaller one between one third
of the holdtime and the keepalive interval.
Follow these steps to configure BGP keepalive interval and holdtime:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure the global keepalive interval
and holdtime
timer
keepalive
keepalive
hold
holdtime
Configure the keepalive interval and
holdtime for a peer or peer group
peer
{
group-name
|
ip-address
}
timer
keepalive
keepalive
hold
holdtime
Optional
By default, the keepalive
interval is 60 seconds, and
holdtime is 180 seconds.