
2.
Configure a BFD session on Router C to detect faults in multi-hop routes between Router
C and Router A.
Data Preparation
To complete the configuration, you need the following data:
l
Peer IP address for a BFD session
l
Local and remote discriminators of a BFD session
NOTE
Default values of the minimum sending interval, minimum receiving interval, and local detection multiplier
for BFD control packets are used.
Procedure
Step 1
Configure reachable routes between Router A, Router B, and Router C.
In this example, static routes are used. The detailed configurations are not provided.
Step 2
Configure multi-hop BFD between Router A and Router C.
# Configure a BFD session between Router A and Router C.
The interface is not bound to the BFD session.
<RouterA>
system-view
[RouterA]
bfd
[RouterA-bfd]
quit
[RouterA]
bfd atoc bind peer-ip 10.2.1.2
[RouterA-bfd-session-atoc]
discriminator local 10
[RouterA-bfd-session-atoc]
discriminator remote 20
[RouterA-bfd-session-atoc]
commit
[RouterA-bfd-session-atoc]
quit
# Configure a BFD session between Router C and Router A.
The interface is not bound to the BFD session.
<RouterC>
system-view
[RouterC]
bfd
[RouterC-bfd]
quit
[RouterC]
bfd ctoa bind peer-ip 10.1.1.1
[RouterC-bfd-session-ctoa]
discriminator local 20
[RouterC-bfd-session-ctoa]
discriminator remote 10
[RouterC-bfd-session-ctoa]
commit
[RouterC-bfd-session-ctoa]
quit
Step 3
Verify the configuration.
After the configurations, run the
display bfd session
all verbose
command on Router A and
Router C. You can view that a multi-hop BFD session has been set up and its status is
Up
.
Use the display on Router A as an example.
<RouterA>
display bfd session all
--------------------------------------------------------------------------------
Session MIndex : 256
(Multi Hop) State :
Up
Name : atoc
--------------------------------------------------------------------------------
Local Discriminator : 10 Remote Discriminator : 20
Session Detect Mode : Asynchronous Mode Without Echo Function
BFD Bind Type : Peer Ip Address
Bind Session Type : Static
Bind Peer Ip Address : 10.2.1.2
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
3 BFD Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
180