You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Micro-BFD (Bidirectional Forwarding Detection) is a lightweight protocol designed to quickly detect failures between adjacent network devices, such as routers or switches, with minimal overhead. This guide provides step-by-step instructions to enable Micro-BFD on Customer Edge (CE) and Provider Edge (PE) devices.
14
+
Micro-BFD (Bidirectional Forwarding Detection) is a lightweight protocol designed to rapidly detect failures between adjacent network devices, such as routers or switches, with minimal overhead. This guide provides step-by-step instructions to enable Micro-BFD on Customer Edge (CE) and Provider Edge (PE) devices.
15
15
16
16
## Prerequisites
17
17
18
-
Before enabling Micro-BFD, perform the following steps:
18
+
Before enabling Micro-BFD, ensure the following:
19
19
20
-
- Both CE and PE devices are configured with the required Micro-BFD settings.
20
+
- Both CE and PE devices are preconfigured with the required Micro-BFD settings.
21
21
22
22
- The feature flag `MicroBFDEnabled` is turned off by default.
23
23
24
-
>[!Note]
24
+
>[!Note]
25
25
> Contact Microsoft support through a support incident to enable the feature flag.
26
26
27
27
- It is necessary to [put the device in maintenance mode](.\howto-put-device-in-maintenance-mode.md) to apply below the configuration changes.
28
28
29
-
## Configuration steps
29
+
## Configuration steps for enabling Micro-BFD
30
30
31
-
### Step 1: Configure CE devices
31
+
Follow these steps to enable Micro-BFD, starting with the secondary devices. Once verified, proceed with the primary devices as described below.
32
+
33
+
### Step 1: Place CE2 in Maintenance Mode
32
34
33
-
1. Access the CE device and enter the configuration mode.
35
+
Run the following Azure CLI command to place the CE2 device in maintenance mode:
34
36
35
-
2. Add the following configuration to enable Micro-BFD on the CE-PE interface:
37
+
```Azure CLI
38
+
az networkfabric device update-admin-state --resource-group <resource-group> --resource-name <resource-name> --state UnderMaintenance
39
+
```
40
+
41
+
>[!Note]
42
+
> For new deployments, maintenance mode is not required.
43
+
44
+
### Step 2: Configure Micro-BFD on CE2
45
+
46
+
Use the following Azure CLI command to configure Micro-BFD under Port-Channel1 on CE2.
47
+
48
+
```Azure CLI
49
+
az networkfabric device run-rw --ids /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/
> After verifying the configuration on secondary devices, repeat steps 1 to 6 for primary devices (CE1 and PE1).
146
+
147
+
### Step 7: Ensure Connectivity and BGP Sessions
148
+
149
+
Ensure connectivity between CE and PE devices is stable, and BGP sessions are established with the appropriate routes.
150
+
151
+
### Step 8: Enable Micro-BFD Flag
152
+
153
+
**Contact Microsoft support through a support incident to enable the Micro-BFD feature flag** and this will require a full reconcile with base configuration along with the property of NPB set to true.
154
+
155
+
### Step 9: Verify Connectivity and BGP Sessions
156
+
157
+
After enabling the feature flag, confirm that connectivity and BGP sessions remain stable.
158
+
159
+
### Step 10: Remove configuration from RW config
160
+
161
+
After the BFD sessions are up, run the following Azure CLI command to remove BFD configurations. This ensures that every full reconcile request does not push the configurations again to the devices.
162
+
163
+
```Azure CLI
164
+
az networkfabric device run-rw --ids /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.ManagedNetworkFabric/NetworkDevices/<device-name>-AggrRack-CE1\PE1\CE2\PE2 --rw-command " "
165
+
```
166
+
167
+
### Step 11: Ensure devices are not disturbed
168
+
169
+
Ensure that devices are not disturbed for Micro-BFD configuration.
0 commit comments