Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

session-mode

Syntax

session-mode (automatic | multihop | single-hop);

Hierarchy Level

[edit logical-systems logical-system-name protocols bgp bfd-liveness-detection],[edit logical-systems logical-system-name protocols bgp group group-name bfd-liveness-detection],[edit logical-systems logical-system-name protocols bgp group group-name neighbor address bfd-liveness-detection],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp bfd-liveness-detection],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name bfd-liveness-detection],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name neighbor address bfd-liveness-detection],[edit protocols bgp group group-name bfd-liveness-detection],[edit protocols bgp group group-name neighbor address bfd-liveness-detection],[edit routing-instances routing-instance-name protocols bgp bfd-liveness-detection],[edit routing-instances routing-instance-name protocols bgp group group-name bfd-liveness-detection],[edit routing-instances routing-instance-name protocols bgp group group-name neighbor address bfd-liveness-detection]

Release Information

Statement introduced in Junos OS Release 11.1.

Statement introduced in Junos OS Release 12.1 for the QFX 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.

Published: 2013-08-15