link-protocol ppp
undo shutdown
ip address 10.1.1.1 255.255.255.0
#
bfd atoc bind peer-ip 10.2.1.2
discriminator local 10
discriminator remote 20
wtr 10
commit
#
ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
#
return
l
Configuration file of Router B
#
sysname RouterB
#
interface Pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.1.1.2 255.255.255.0
#
interface Pos2/0/0
link-protocol ppp
undo shutdown
ip address 10.2.1.1 255.255.255.0
#
return
l
Configuration file of Router C
#
sysname RouterC
#
bfd
#
interface Pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.2.1.2 255.255.255.0
#
bfd ctoa bind peer-ip 10.1.1.1
discriminator local 20
discriminator remote 10
wtr 10
commit
#
ip route-static 10.1.1.0 255.255.255.0 10.2.1.1
#
return
5.17.10 Example for Configuring a BFD Session with the One-Arm
Echo Function
In this example, configuring the one-arm Echo function on a BFD-capable device on one end
of a link allows you to use BFD to rapidly detect and monitor the direct link between the BFD-
capable device and its BFD-incapable peer.
Networking Requirements
On the network shown in
, Router A supports BFD but Router B does not. A BFD
session with the one-arm Echo function needs to be configured on Router A to fast detect the
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
5 BFD Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
408