// Module included in the following assemblies:
//
// * networking/metallb/metallb-configure-bfd-profiles.adoc

:_mod-docs-content-type: PROCEDURE
[id="nw-metallb-configure-bfdprofile_{context}"]
= Configuring a BFD profile

[role="_abstract"]
To achieve faster path failure detection for BGP sessions, configure a MetalLB BFD profile and associate it with a BGP peer. Establishing these profiles ensures that your network routing remains highly available and responsive by identifying connectivity issues more rapidly than standard protocols.

.Prerequisites

* Install the {oc-first}.
* Log in as a user with `cluster-admin` privileges.

.Procedure

. Create a file, such as `bfdprofile.yaml`, with content like the following example:
+
[source,yaml]
----
apiVersion: metallb.io/v1beta1
kind: BFDProfile
metadata:
  name: doc-example-bfd-profile-full
  namespace: metallb-system
spec:
  receiveInterval: 300
  transmitInterval: 300
  detectMultiplier: 3
  echoMode: false
  passiveMode: true
  minimumTtl: 254
# ...
----

. Apply the configuration for the BFD profile:
+
[source,terminal]
----
$ oc apply -f bfdprofile.yaml
----
