When you configure BFD for a BGP session, the normal BGP keepalive mechanism is not
disabled. Unless you configure BGP not to do so, BGP still sends keepalive messages
and brings the BGP session down if the holdtimer expires.
When you configure this feature, BGP requests BFD to start a BFD protocol session as
soon as the BGP session enters the established state. BGP allows the BFD protocol
session to come up only when the source address of received BFD packets matches the
destination address of the BGP neighbor. When the BFD protocol session comes up, BGP
logs this event and reports the session in subsequent
show
commands. If the BFD protocol
session goes down, BGP immediately brings down the BGP session and takes all
associated actions.
Whenever a BGP session leaves the established state, BGP requests BFD to stop the
BFD protocol session. BGP also requests BFD to bring the BFD protocol session down
and inform BGP if the local interface goes down.
To enable a BGP session to come up even if the remote peer does not support BFD or
has not been configured to use BFD, the following behavior applies:
•
The BGP session can come up when the BFD protocol session is not yet up.
•
The BGP session can stay up even when the BFD protocol session never comes up.
You can specify a desired rate for receiving BFD packets from the peer, transmitting them
to the peer, or both, by setting a desired time interval between the packets. The actual
timer values can be different as a result of other applications requesting BFD protocol
sessions on the same interface with different timer values, as a result of timer value
negotiation between the local and remote BFD speakers, or both.
In the following example, the router is configured to send BFD packets to peer 10.25.43.1
with a minimum interval of 450 milliseconds between the packets, and to accept BFD
packets from the peer only with the same minimum interval:
host1(config)#
router bgp 100
host1(config-router)#
neighbor 10.25.43.1 bfd-liveness-detection minimum-interval 450
neighbor bfd-liveness-detection
•
Use to enable BGP to detect whether a neighbor is unreachable by means of a BFD
protocol session to the neighbor.
•
The peers in a BGP adjacency use the configured values to negotiate the actual transmit
intervals for BFD packets.
•
You can use the
minimum-transmit-interval
keyword to specify the interval at which
the local peer proposes to transmit BFD control packets to the remote peer. The
default value is 300 milliseconds.
•
You can use the
minimum-receive-interval
keyword to specify the minimum interval
at which the local peer must receive BFD control packets from the remote peer. The
default value is 300 milliseconds.
•
You can use the
minimum-interval
keyword to specify the same value for both of
those intervals. Configuring a minimum interval has the same effect as configuring
139
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...