Implementing BFD and FRR on Huawei Routers
- March 17, 2024
- Posted by: James Majani
- Category: Networking

Bidirectional Forwarding Detection (BFD) is a universal, standard, media-independent, and protocol-independent fast fault detection mechanism. BFD for OSPF associates BFD with OSPF. If a fault occurs on the link between a device and its neighbor, BFD can rapidly detect the link fault to speed up OSPF’s response to network topology change.
OSPF IP Fast Reroute (FRR) is a dynamic IP FRR technology that uses the loop-free alternate (LFA) to pre-calculate a backup path and save it in the forwarding table. If the primary link fails, traffic is rapidly switched to the backup link, ensuring traffic continuity and achieving traffic protection.
There are four routers running OSPF on the intranet. To control the number of OSPF LSDBs, the four AR routers are assigned to different areas. IS-IS runs between R4 (ASBR) in OSPF area 1 and R5 in the branch.
To speed up OSPF convergence, the network administrator deploys OSPF IP FRR and the association between OSPF and BFD.
Step 1: Configure IP addresses for Devices.
*******************************************R1
system-view
sysname R1
interface GigabitEthernet 0/0/1
description TO_SW1_GE 0/0/1
ip address 10.0.13.1 30
#
interface GigabitEthernet 0/0/2
description TO_R2_GE 0/0/3
ip address 10.0.13.5 30
#
interface LoopBack0
ip address 10.0.1.1 255.255.255.255
#
*******************************************R2
system-view
sysname R2
interface GigabitEthernet 0/0/3
description TO_R1_GE 0/0/2
ip address 10.0.13.6 30
#
interface GigabitEthernet 0/0/2
description TO_R3_GE 0/0/3
ip address 10.0.13.9 30
#
interface LoopBack0
ip address 10.0.2.2 255.255.255.255
#
*******************************************R3
system-view
sysname R3
interface GigabitEthernet 0/0/1
description TO_SW1_GE 0/0/3
ip address 10.0.13.2 30
#
interface GigabitEthernet 0/0/2
description TO_R4_GE 0/0/3
ip address 10.0.13.13 30
#
interface GigabitEthernet 0/0/3
description TO_R2_GE 0/0/2
ip address 10.0.13.10 30
#
interface LoopBack0
ip address 10.0.3.3 255.255.255.255
#
*******************************************R4
system-view
sysname R4
interface GigabitEthernet 0/0/3
description TO_R3_GE 0/0/2
ip address 10.0.13.14 30
#
interface GigabitEthernet 0/0/2
description TO_R5_GE 0/0/3
ip address 10.0.13.17 30
#
interface LoopBack0
ip address 10.0.4.4 255.255.255.255
#
*******************************************R5
system-view
sysname R5
interface GigabitEthernet 0/0/3
description TO_R4_GE 0/0/2
ip address 10.0.13.18 30
#
interface LoopBack0
ip address 10.0.5.5 255.255.255.255
#
Step 2: Configure OSPF according to the planning.
*******************************************R1
ospf 1 router-id 10.0.1.1
area 0
network 10.0.13.0 0.0.0.3
network 10.0.13.4 0.0.0.3
network 10.0.1.1 0.0.0.0
*******************************************R2
ospf 1 router-id 10.0.2.2
area 0
network 10.0.13.8 0.0.0.3
network 10.0.13.4 0.0.0.3
network 10.0.2.2 0.0.0.0
*******************************************R3
ospf 1 router-id 10.0.3.3
area 0
network 10.0.13.0 0.0.0.3
network 10.0.13.8 0.0.0.3
network 10.0.3.3 0.0.0.0
#
area 1
network 10.0.13.12 0.0.0.3
*******************************************R4
ospf 1 router-id 10.0.4.4
area 1
network 10.0.13.12 0.0.0.3
network 10.0.4.4 0.0.0.0
Check the OSPF neighbor relationship status on R2 and R3.


Check the OSPF routing table on R1

Step 3: Configure IS-IS according to the planning
*******************************************R4
isis 1
is-level level-1-2
is-name R4
network-entity 49.0001.0000.0000.0004.00
#
int GigabitEthernet 0/0/2
isis enable 1
#
*******************************************R5
isis 1
is-level level-1
is-name R5
network-entity 49.0001.0000.0000.0005.00
#
int GigabitEthernet 0/0/3
isis enable 1
#
int LoopBack 0
isis enable 1
Check the ISIS neighbor relationship and IS-IS routing table on R4
An IS-IS level-1 neighbor relationship has been established between R4 and R5.

R4 has learnt the route to loopback0 of R5.

Step 4: Configure OSPF FRR
Check the OSPF route to 10.0.4.4/32 on R1
In this case the next hop to 10.0.4.4/32 id 10.0.13.2

Enable FRR on R1
*******************************************R1
ospf 1
frr
loop-free-alternate
Check the OSPF route 10.0.4.4/32 on R1
A backup route destined for R4’s LoopBack0 interface has been generated on R1, with the next hop address being 10.0.13.6 and outbound interface being GE0/0/2. The backup route is destined for R4’s Loopback0 interface through R2

Step 5: Configure BFD
Enable BFD globally on R1, R2, R3 and R4.
*******************************************R1
bfd
#
ospf 1
bfd all-interfaces enable
*******************************************R2
bfd
#
ospf 1
bfd all-interfaces enable
*******************************************R3
bfd
#
ospf 1
bfd all-interfaces enable
*******************************************R4
bfd
#
ospf 1
bfd all-interfaces enable
Configure BFD on R2,R3, and R4, set the minimum intervals for sending and receiving packets to 500ms, and the local detection multiplier to 4.
*******************************************R1
interface GigabitEthernet 0/0/1
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
#
interface GigabitEthernet 0/0/2
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
*******************************************R2
interface GigabitEthernet 0/0/2
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
#
interface GigabitEthernet 0/0/3
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
*******************************************R3
interface GigabitEthernet 0/0/1
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
#
interface GigabitEthernet 0/0/2
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
#
interface GigabitEthernet 0/0/3
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
*******************************************R4
interface GigabitEthernet 0/0/3
ospf bfd enable
ospf bfd min-tx-interval 500 min-rx-interval 500 detect-multiplier 4
Check the BFD session status on R3

Shutdown GE0/0/1 of R3 and test the association between BFD and FRR
*******************************************R3
interface GigabitEthernet 0/0/1
shutdown
Check the status of GigabitEthernet 0/0/1 on R1
R1 and R3 are connected through SW1. After GE0/0/1 on R3 is shut down, GE0/0/1 on R1 is still Up and cannot detect the connectivity interruption between R1 and R3.

Check the BFD session status on GE0/0/1 of R1.
There is no BFD session

Check the OSPF neighbor relationship status on R1.
The OSPF neighbor relationship between R1 and R3 has been terminated, and the time of shutting down GE0/0/1 on R3 is smaller than the OSPF dead interval.

Check on R1 the reason why the neighbor relationship is interrupted.
The command output shows that the neighbor relationship between R1 and R3 is interrupted because the BFD session is Down.

Check OSPF route 10.0.4.4/32 on R1
The next hop of the route to R4’s LoopBack0 interface is changed to 10.0.13.6, and the outbound interface is GE0/0/2

Related Posts
Good job.
[…] Implementing BFD and FRR on Huawei Routers […]
best online pharmacy usa: buy viagra online pharmacy – flovent hfa online pharmacy
https://vgrsources.com/# viagra 100mg cost in usa
buy viagra online prices: viagra 25mg online india – super active viagra
where to get viagra in canada: generic viagra cost – where to get viagra no prescription
female viagra real: VGR Sources – cheap viagra 100mg uk
viagra soft online buy cheap sildenafil online uk viagra medicine online in india
where can i order viagra online in canada: canadian online pharmacy viagra – sildenafil citrate vs viagra
sildenafil sale in india: VGR Sources – sildenafil 100mg mexico
cheap viagra online fast delivery: uk viagra no prescription – viagra online purchase in india
how do you get viagra can i buy genuine viagra online buy viagra online usa paypal
https://vgrsources.com/# viagra pill price in mexico
canadian medicine viagra: viagra tablets in india online – generic viagra 50mg
buy female viagra canada: VGR Sources – how can you get viagra over the counter
viagra 50mg generic: VGR Sources – generic viagra online europe
300 mg viagra VGR Sources viagra usa online
viagra 100mg generic: VGR Sources – what is viagra
cheapest generic sildenafil uk: where to buy generic viagra in usa – sildenafil 100mg sale
generic viagra 20 mg: viagra price in india – generic sildenafil citrate 100mg
viagra 20 mg cost pfizer 100mg viagra best canadian pharmacy generic viagra
https://vgrsources.com/# generic viagra online for sale
female viagra no prescription: VGR Sources – sildenafil 6mg
sildenafil over the counter canada: viagra tablet online purchase – how to buy generic viagra safely online
buy viagra online free shipping: how much is viagra uk – generic sildenafil online
how to buy viagra in uk where can i buy viagra cheap online generic viagra cost in canada
sildenafil fast shipping: generic viagra online europe – cheap generic viagra india
canadian pharmacy viagra pills: VGR Sources – viagra for sale in usa
get viagra prescription: VGR Sources – where can i buy sildenafil online safely
sildenafil prescription cost viagra price in malaysia sildenafil 100mg usa cheap
https://vgrsources.com/# viagra pharmacy coupon
purchase viagra in india: VGR Sources – genuine viagra best price
viagra pills cost in india: viagra in mexico cost – canadian drugstore viagra online
how to order sildenafil: cheap generic viagra – need prescription for viagra
viagra tablets online VGR Sources viagra 100mg price india
viagra cost comparison: where can you buy viagra in south africa – sildenafil generic brand name
viagra pill 100mg: VGR Sources – viagra online purchase in india
viagra mexico pharmacy: viagra cheapest price – cheap viagra online free shipping australia
buy viagra online europe: generic viagra price canada – buy sildenafil australia
best viagra price in india VGR Sources viagra pfizer
viagra walgreens: VGR Sources – buy cheap viagra tablets
buy viagra online in canada: VGR Sources – viagra 100mg in canada
can you buy viagra over the counter in australia: VGR Sources – how to buy female viagra in india
where to buy otc sildenafil VGR Sources get viagra prescription
sildenafil prescription: sildenafil online usa – buy cheap generic viagra online
how can i get viagra: can you buy viagra over the counter in south africa – how to get viagra prescription online
sildenafil cost india: sildenafil price comparison – sildenafil daily use
viagra generic otc VGR Sources 20 mg viagra daily
viagra professional online: can i order viagra – where to buy real viagra cheap
https://vgrsources.com/# best otc viagra
sildenafil canada paypal: female viagra pills in india online – where can i buy generic viagra online
viagra for sale in canada: best price for viagra 100 mg – where to buy generic viagra in usa
viagra price canada VGR Sources how can i get generic viagra in canada
where can i get female viagra in australia: VGR Sources – cheap generic viagra canadian pharmacy
can i buy generic viagra in canada: VGR Sources – sildenafil 100mg price uk
cheap prescription viagra online: buy viagra generic online – sildenafil citrate india
generic sildenafil tablets: VGR Sources – can you order viagra without a prescription
viagra online pharmacy canada: sildenafil 50 mg mexico – prezzo viagra 50mg
https://vgrsources.com/# viagra prescription uk
female viagra otc: VGR Sources – generic sildenafil in usa
best price viagra uk best price for sildenafil where can i get over the counter viagra
online viagra order canada: VGR Sources – best generic viagra prices
online pharmacy generic viagra: VGR Sources – cheapest soft viagra soft on line
buy cheap viagra online from india: where to buy viagra cheap – order viagra 50 mg
viagra usa online VGR Sources generic viagra professional 100mg
sildenafil price uk: VGR Sources – online viagra prescription
sildenafil india paypal: VGR Sources – viagra online ordering
https://vgrsources.com/# generic sildenafil usa
Crestor Pharm: Crestor Pharm – Crestor Pharm
Lipi Pharm: Order cholesterol medication online – Lipi Pharm
Lipi Pharm: Lipi Pharm – atorvastatin 40
SemagluPharm rybelsus uses Semaglu Pharm
how to get rybelsus without insurance: Semaglu Pharm – Online pharmacy Rybelsus
prednisone 20mg online: buy prednisone 10mg – Predni Pharm
PredniPharm: prednisone drug costs – PredniPharm
CrestorPharm Crestor Pharm Crestor Pharm
https://crestorpharm.shop/# rosuvastatin calcium price
Rybelsus 3mg 7mg 14mg: Semaglu Pharm – Semaglutide tablets without prescription
buy prednisone 5mg canada: PredniPharm – prednisone 10 mg tablet cost
LipiPharm: Affordable Lipitor alternatives USA – Discreet shipping for Lipitor
LipiPharm Lipi Pharm can lipitor lower blood pressure
generic prednisone otc: prednisone 5mg price – prednisone 1 mg tablet
lipitor molecule: does lipitor cause anxiety – Lipi Pharm
http://semaglupharm.com/# rybelsus pregnancy
Predni Pharm prednisone uk Predni Pharm
Order cholesterol medication online: Lipi Pharm – LipiPharm
FDA-approved generic statins online: LipiPharm – LipiPharm
SemagluPharm SemagluPharm rybelsus efectos secundarios
CrestorPharm: side effects of crestor 40 mg – crestor neck pain
Semaglu Pharm: Semaglu Pharm – 50 units of semaglutide
Semaglu Pharm: Semaglu Pharm – Semaglu Pharm
https://lipipharm.shop/# Lipi Pharm
SemagluPharm SemagluPharm Rybelsus 3mg 7mg 14mg
rosuvastatin 5mg tablets: Order rosuvastatin online legally – CrestorPharm
Rybelsus online pharmacy reviews: SemagluPharm – semaglutide without insurance
Predni Pharm: prednisone 10mg buy online – buy prednisone no prescription
lipitor vs pravastatin Lipi Pharm LipiPharm
LipiPharm: Lipi Pharm – Lipi Pharm
best time to take semaglutide injection: SemagluPharm – No prescription diabetes meds online
https://crestorpharm.com/# Crestor Pharm
side effects of taking crestor CrestorPharm Crestor Pharm
No prescription diabetes meds online: SemagluPharm – No prescription diabetes meds online
Crestor Pharm: CrestorPharm – rosuvastatin 10 mg uses in hindi
PredniPharm: Predni Pharm – Predni Pharm
rybelsus 3mg tablets Rybelsus 3mg 7mg 14mg Rybelsus side effects and dosage
can you take too much atorvastatin: atorvastatin doses – can you od on atorvastatin
can you take rybelsus with food: pill form of semaglutide – п»їBuy Rybelsus online USA
http://prednipharm.com/# PredniPharm
Rybelsus for blood sugar control FDA-approved Rybelsus alternative SemagluPharm
LipiPharm: Lipi Pharm – Lipi Pharm
Crestor Pharm: what happens if you stop taking rosuvastatin – Crestor Pharm
CrestorPharm Crestor Pharm rosuvastatin prescription online
Lipi Pharm: LipiPharm – LipiPharm
where to buy prednisone uk: prednisone 10mg – Predni Pharm
http://lipipharm.com/# Lipi Pharm
Online statin therapy without RX CrestorPharm Affordable cholesterol-lowering pills
Online statin drugs no doctor visit: Lipi Pharm – Generic Lipitor fast delivery
CrestorPharm: Crestor Pharm – Crestor Pharm
PredniPharm: PredniPharm – Predni Pharm
http://semaglupharm.com/# Semaglu Pharm
where to get prednisone: Predni Pharm – where to buy prednisone without prescription
Semaglu Pharm rybelsus 3 mg side effects does semaglutide lower blood pressure
https://lipipharm.shop/# atorvastatin lipitor side effects
rybelsus for diabetes: SemagluPharm – Semaglu Pharm
https://semaglupharm.com/# como tomar rybelsus para adelgazar
Lipi Pharm: LipiPharm – Lipi Pharm
No prescription diabetes meds online SemagluPharm Semaglu Pharm
SemagluPharm: Semaglu Pharm – FDA-approved Rybelsus alternative
http://semaglupharm.com/# Buy Rybelsus online USA
Lipi Pharm: LipiPharm – Order cholesterol medication online
LipiPharm LipiPharm LipiPharm
https://prednipharm.com/# PredniPharm
https://semaglupharm.com/# SemagluPharm
atorvastatin calcium 20 mg oral tablet: lipitor side effects in females hair loss – No RX Lipitor online
PredniPharm PredniPharm Predni Pharm
https://semaglupharm.com/# how many units is 2.5mg of semaglutide
Semaglu Pharm: Semaglu Pharm – SemagluPharm
prednisone without prescription.net: where can you buy prednisone – PredniPharm
best semaglutide Semaglu Pharm rybelsus vs wegovy for weight loss
https://crestorpharm.com/# crestor skutki uboczne
https://semaglupharm.shop/# SemagluPharm
CrestorPharm: Crestor Pharm – CrestorPharm
Crestor Pharm: Buy cholesterol medicine online cheap – CrestorPharm
prednisone generic brand name pharmacy cost of prednisone prednisone 7.5 mg
https://semaglupharm.com/# SemagluPharm
SemagluPharm: Affordable Rybelsus price – SemagluPharm
Lipi Pharm: LipiPharm – LipiPharm