BFD session creation mode, the currently created BFD session only supports static or static auto-negotiation mode.
dest_addr
-
Specifies the peer IP address bound to the BFD session.
local_discr
-
added in 2.9
The BFD session local identifier does not need to be configured when the mode is auto.
out_if_name
-
Specifies the type and number of the interface bound to the BFD session.
remote_discr
-
added in 2.9
The BFD session remote identifier does not need to be configured when the mode is auto.
session_name
-
/ required
Specifies the name of a BFD session. The value is a string of 1 to 15 case-sensitive characters without spaces.
src_addr
-
Indicates the source IP address carried in BFD packets.
state
-
Choices:
present ←
absent
Determines whether the config should be present or not on the device.
use_default_ip
boolean
Choices:
no ←
yes
Indicates the default multicast IP address that is bound to a BFD session. By default, BFD uses the multicast IP address 224.0.0.184. You can set the multicast IP address by running the default-ip-address command. The value is a bool type.
vrf_name
-
Specifies the name of a Virtual Private Network (VPN) instance that is bound to a BFD session. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The value _public_ is reserved and cannot be used as the VPN instance name.
-name:bfd session module testhosts:cloudengineconnection:localgather_facts:novars:cli:host:"{{inventory_hostname}}"port:"{{ansible_ssh_port}}"username:"{{username}}"password:"{{password}}"transport:clitasks:-name:Configuring Single-hop BFD for Detecting Faults on a Layer 2 Linkce_bfd_session:session_name:bfd_l2linkuse_default_ip:trueout_if_name:10GE1/0/1local_discr:163remote_discr:163provider:'{{cli}}'-name:Configuring Single-Hop BFD on a VLANIF Interfacece_bfd_session:session_name:bfd_vlanifdest_addr:10.1.1.6out_if_name:Vlanif100local_discr:163remote_discr:163provider:'{{cli}}'-name:Configuring Multi-Hop BFDce_bfd_session:session_name:bfd_multi_hopdest_addr:10.1.1.1local_discr:163remote_discr:163provider:'{{cli}}'