Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

session-mode

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 11.1.

Statement introduced in Junos OS Release 12.1 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

Configure BFD session mode to be single-hop or multihop. By default, BGP uses single-hop BFD sessions if the peer is directly connected to the router’s interface. BGP uses multihop BFD sessions if the peer is not directly connected to the router’s interface. If the peer session’s local-address option is configured, the directly connected check is based partly on the source address that would be used for BGP and BFD.

For backward compatibility, you can override the default behavior by configuring the single-hop or multihop option. Before Junos OS Release 11.1, the behavior was to assume that IBGP peer sessions were multihop.

Options

automatic—Configure BGP to use single-hop BFD sessions if the peer is directly connected to the router’s interface, and multihop BFD sessions if the peer is not directly connected to the router’s interface

multihop—Configure BGP to use multihop BFD sessions.

single-hop—Configure BGP to use single-hop BFD sessions.

Default: automatic

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.