Fortinet white logo
Fortinet white logo

CLI Reference

config router bfd

config router bfd

Use this command to configure Bidirectional Forwarding Detection (BFD) to quickly detect Border Gateway Protocol (BGP) session failures by enabling quicker rerouting of traffic in the event of a link or peer failure. After you configure a BFD object, you can enable BFD in the BGP Neighbor configuration.

Before you begin:
  • You must know how BGP has been implemented in your network, i.e., the configuration details of the implementation.
  • You must have read-write permission for system settings.

Syntax

config router bfd

config interface

edit <name>

set interface <interface name>

set desired-min-tx <integer>

set detect-mult <integer>

set required-min-rx <integer>

next

end

end

interface

Specify the Interface to assign for BFD.

The BFD Interface can refer to the Link Load Balance Ingress Interface specified in the Link Policy. Any Layer 3 interfaces that receive and send external packets can be assigned for BFD except for Loopback interfaces.

desired-min-tx

Specify the desired minimum transmit interval for BFD liveness detection in milliseconds. Default: 750ms, Range: 200ms-30000ms.

This refers to the interval that the FortiADC would like to use when transmitting BFD Control packets.

detect-mult

Specify the detection time multiplier. Default: 3 Range: 1-20.

The negotiated transmit interval, multiplied by this value, provides the Detection Time for the receiving system.

required-min-rx

Specify the required minimum receive interval for BFD liveness detection in milliseconds. Default: 500ms, Range: 200ms-30000ms.

This refers to the minimum interval after which the local routing device must receive a reply from a neighbor with which it has established a BFD session.

Example

config router bfd

config interface

edit "BFD_port3"

set interface port3

set desired-min-tx 500

set detect-mult 3

set required-min-rx 1000

next

end

end

config router bfd

config router bfd

Use this command to configure Bidirectional Forwarding Detection (BFD) to quickly detect Border Gateway Protocol (BGP) session failures by enabling quicker rerouting of traffic in the event of a link or peer failure. After you configure a BFD object, you can enable BFD in the BGP Neighbor configuration.

Before you begin:
  • You must know how BGP has been implemented in your network, i.e., the configuration details of the implementation.
  • You must have read-write permission for system settings.

Syntax

config router bfd

config interface

edit <name>

set interface <interface name>

set desired-min-tx <integer>

set detect-mult <integer>

set required-min-rx <integer>

next

end

end

interface

Specify the Interface to assign for BFD.

The BFD Interface can refer to the Link Load Balance Ingress Interface specified in the Link Policy. Any Layer 3 interfaces that receive and send external packets can be assigned for BFD except for Loopback interfaces.

desired-min-tx

Specify the desired minimum transmit interval for BFD liveness detection in milliseconds. Default: 750ms, Range: 200ms-30000ms.

This refers to the interval that the FortiADC would like to use when transmitting BFD Control packets.

detect-mult

Specify the detection time multiplier. Default: 3 Range: 1-20.

The negotiated transmit interval, multiplied by this value, provides the Detection Time for the receiving system.

required-min-rx

Specify the required minimum receive interval for BFD liveness detection in milliseconds. Default: 500ms, Range: 200ms-30000ms.

This refers to the minimum interval after which the local routing device must receive a reply from a neighbor with which it has established a BFD session.

Example

config router bfd

config interface

edit "BFD_port3"

set interface port3

set desired-min-tx 500

set detect-mult 3

set required-min-rx 1000

next

end

end