260
a. bgp as-number
[ instance
instance-name ]
b. ip vpn-instance
3. Configure the keepalive
interval and hold time.
• Configure the global
keepalive interval and hold
time:
timer keepalive keepalive
hold holdtime
• Configure the keepalive
interval and hold time for a
peer or peer group:
peer { group-name |
ipv6-address
[ prefix-length ] } timer
keepalive keepalive hold
holdtime
Use at least one method.
By default, the keepalive interval
is 60 seconds, and hold time is
180 seconds.
The
timer
command takes effect
for new BGP sessions and does
not affect existing sessions.
The timers configured with the
timer
and
peer timer
commands
do not take effect until a session is
re-established (for example, a
session is reset).
The hold time must be at least
three times the keepalive interval.
Configuring the interval for sending updates for the same
route
A BGP router sends an update message to its peers when a route is changed. If the route changes
frequently, the BGP router keeps sending updates for the same route, resulting route flapping. To
prevent this situation, perform this task to configure the interval for sending updates for the same
route to a peer or peer group.
To configure the interval for sending the same update to a peer or peer group (IPv4 unicast/multicast
address family):
1. Enter system view.
system-view
N/A
2. Enter BGP instance view or
BGP-VPN instance view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance
view:
a. bgp as-number
[ instance
instance-name ]
b. ip vpn-instance
N/A
3. Configure the interval for
sending updates for the
same route to a peer or peer
group.
peer
{ group-name | ipv4-address
[ mask-length ] }
route-update-interval
interval
By default, the interval is 15
seconds for an IBGP peer and 30
seconds for an EBGP peer.
To configure the interval for sending the same update to a peer or peer group (IPv6 unicast/multicast
address family):