•
Use the
no
version to stop automatically bringing down the session in the event of link
failure.
•
See bgp fast-external-fallover.
Setting Timers
BGP uses a keepalive timer to control the interval at which keepalive messages are sent.
A hold-time timer controls how long BGP waits for a keepalive message before declaring
a peer not available.
BGP negotiates the hold time with each neighbor when establishing the BGP connection.
The peers use the lower of the two configured hold times. BGP sets the keepalive timer
based on this negotiated hold time and the configured keepalive time.
neighbor timers
•
Use to set the keepalive and hold-time timers for the specified neighbor or peer group.
•
Overrides timer values set with the
timers bgp
command.
•
If you specify a BGP peer group by using the
peerGroupName
argument, all the members
of the peer group inherit the characteristic configured with this command unless it is
overridden for a specific peer.
•
If you set the keepalive timer to 0, BGP does not send any keepalive messages.
•
If you do not expect the peer to send any keepalives, set the hold-time timer to 0.
•
This command takes effect immediately and automatically bounces the session to
force BGP to send a new open message to renegotiate the new timer values.
•
Example
host1(config-router)#
neighbor 192.168.21.5 timers 90 240
•
Use the
no
version to restore the default values on the specified neighbor or peer
group—30 seconds for the keepalive timer and 90 seconds for the hold-time timer.
•
See neighbor timers.
timers bgp
•
Use to set the keepalive and hold-time timers for all neighbors.
•
If you set the keepalive timer to 0, BGP does not send any keepalive messages.
•
If you do not expect the peer to send any keepalives, set the hold-time timer to 0.
•
Example
host1(config-router)#
timers bgp 75 300
•
The new timer values are used by every session that comes up after you issue the
command; timers configured specifically for the sessions take precedence over these
values.
To force sessions that are already established to use the new timer values, you must
use the
clear ip bgp
command to perform a hard clear.
39
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...