bfd-liveness-detection (Protocols OSPF)
Syntax
bfd-liveness-detection { authentication { algorithm algorithm-name; key-chain key-chain-name; loose-check; } detection-time { threshold milliseconds; } full-neighbors-only holddown-interval holddown-interval; minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; pdu-size bytes transmit-interval { minimum-interval milliseconds; threshold milliseconds; } version (1 | automatic); }
Hierarchy Level
[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id interface interface-name], [edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name], [edit protocols (ospf | ospf3) area area-id interface interface-name], [edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name], [edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name], [edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name]
Description
Configure bidirectional failure detection timers and authentication for OSPF.
The remaining statements are explained separately. See CLI Explorer.
Options
authentication algorithm algorithm-name
—Configure the algorithm used to authenticate the specified
BFD session: simple-password
, keyed-md5
, keyed-sha-1
, meticulous-keyed-md5
, or meticulous-keyed-sha-1
.
authentication key-chain key-chain-name
—Associate a security key with the specified BFD session
using the name of the security keychain. The name you specify must
match one of the keychains configured in the authentication-key-chains
key-chain
statement at the [edit security]
hierarchy
level.
authentication loose-check
—(Optional) Configure
loose authentication checking on the BFD session. Use only for transitional
periods when authentication may not be configured at both ends of
the BFD session.
detection-time threshold milliseconds
—Configure a threshold for the adaptation of the BFD
session detection time. When the detection time adapts to a value
equal to or greater than the threshold, a single trap and a single
system log message are sent.
full-neighbors-only
—Establish BFD sessions
only for OSPF neighbors in the full state. The default behavior is
to establish BFD sessions for all OSPF neighbors.
holddown-interval holddown-interval
—Time to hold the session-UP notification to the client.
Range: 0 through 255000 milliseconds
minimum-interval milliseconds
—Configure the minimum interval after which the local routing
device transmits a hello packet and then expects to receive a reply
from the neighbor with which it has established a BFD session. Optionally,
instead of using this statement, you can configure the minimum transmit
and receive intervals separately using the transmit-interval
minimum-interval
and minimum-receive-interval
statements.
Range: 1 through 255,000 milliseconds
minimum-receive-interval milliseconds
—Configure the minimum interval after which the routing
device expects to receive a reply from a neighbor with which it has
established a BFD session. Optionally, instead of using this statement,
you can configure the minimum receive interval using the minimum-interval
statement.
Range: 1 through 255,000 milliseconds
multiplier number
—Configure
the number of hello packets not received by a neighbor that causes
the originating interface to be declared down.
Range: 1 through 255
Default: 3
no-adaptation
—Specify that BFD sessions should
not adapt to changing network conditions. We recommend that you not
disable BFD adaptation unless it is preferable not to have BFD adaptation
enabled in your network.
pdu-size
—Adjust the size of BFD protocol data units (PDUs).
-
Range: 24 through 9000 bytes
-
Default: 24
transmit-interval threshold milliseconds
—Configure the threshold for the adaptation of the BFD
session transmit interval. When the transmit interval adapts to a
value greater than the threshold, a single trap and a single system
message are sent. The interval threshold must be greater than the
minimum transmit interval.
Range: 0 through 4,294,967,295 (232 – 1)
transmit-interval minimum-interval milliseconds
—Configure the minimum interval at which the routing
device transmits hello packets to a neighbor with which it has established
a BFD session. Optionally, instead of using this statement, you can
configure the minimum transmit interval using the minimum-interval
statement.
Range: 1 through 255,000
version
—Configure the BFD version to detect: 1
(BFD version 1) or automatic
(autodetect
the BFD version).
Default:
automatic
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
detection-time threshold
and transmit-interval
threshold
options added in Junos OS Release 8.2.
Support for logical systems introduced in Junos OS Release 8.3.
no-adaptation
option introduced in Junos OS Release 9.0.
no-adaptation
option introduced in Junos OS Release
9.0 for EX Series switches.
Support for OSPFv3 introduced in Junos OS Release 9.3.
Support for OSPFv3 introduced in Junos OS Release 9.3 for EX Series switches.
full-neighbors-only
option introduced in Junos OS
Release 9.5.
full-neighbors-only
option introduced in Junos OS
Release 9.5 for EX Series switches.
holddown-interval
option introduced in Junos OS Release
19.4 for MX Series routers.
authentication algorithm
, authentication key-chain
, and authentication loose-check
options introduced in
Junos OS Release 9.6.