.. _cisco.ios.ios_bfd_templates_module:
***************************
cisco.ios.ios_bfd_templates
***************************
**Bidirectional Forwarding Detection (BFD) templates configurations**
Version added: 11.3.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Manages Bidirectional Forwarding Detection (BFD) templates configurations
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A dictionary of bfd template options
|
|
authentication
dictionary
|
|
Configure authentication for the BFD template
|
|
|
keychain
string
|
|
Name of the key chain to use for authentication
|
|
|
type
string
|
Choices:
- sha_1
- md5
- meticulous_md5
- meticulous_sha_1
|
Authentication type to use for BFD sessions
|
|
dampening
dictionary
|
|
enables session dampening
|
|
|
half_life_period
integer
|
|
half-life period for the exponential decay algorithm, in minutes.
|
|
|
max_suppress_time
integer
|
|
The maximum amount of time a session can be suppressed, in minutes.
|
|
|
reuse_threshold
integer
|
|
The threshold at which a dampened session is allowed to be reused (taken out of dampening), in milliseconds.
|
|
|
suppress_threshold
integer
|
|
The threshold at which a session is suppressed (put into dampening), in milliseconds.
|
|
echo
boolean
|
|
enables the BFD echo function for all interfaces which uses this specific template.
|
|
hop
string
/ required
|
Choices:
- single_hop
- multi_hop
|
type of template to be used
|
|
interval
dictionary
|
|
defines transmit interval between BFD packets
|
|
|
min_rx
integer
|
|
The minimum interval in milliseconds that the local system is capable of supporting between received BFD control packets
|
|
|
min_tx
integer
|
|
The minimum interval in milliseconds that the local system desires for transmitting BFD control packets
|
|
|
multiplier
integer
|
|
Specifies the number of consecutive BFD control packets that must be missed from a BFD peer before BFD declares that the peer is unavailable and the Layer 3 BFD peer is informed of the failure.
|
|
name
string
/ required
|
|
name of the BFD template to be used
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the IOS device by executing the command show running-config | section ^bfd-template.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- rendered
- gathered
- purged
- parsed
|
The state the configuration should be left in
The states rendered, gathered and parsed does not perform any change on the device.
The state rendered will transform the configuration in config option to platform specific CLI commands which will be returned in the rendered key within the result. For state rendered active connection to remote host is not required.
The state gathered will fetch the running configuration from device and transform it into structured data in the format as per the resource module argspec and the value is returned in the gathered key within the result.
The state parsed reads the configuration from running_config option and transforms it into JSON format as per the resource module parameters and the value is returned in the parsed key within the result. The value of running_config option should be the same format as the output of command show running-config | section ^bfd-template executed on device. For state parsed active connection to remote host is not required.
The state deleted does not support or guarantee granular deletion of configuration the playbook should act as source of truth, and the desired state of the resouce is what the playbook should reflect. Use overridden or replaced to get extra configuration removed.
The state purged removes BFD templates completely using a single top-level no bfd-template command, which removes the entire template definition at once.
|