
[RouterB]
controller e1 1/0/0
[RouterB-E1 1/0/0]
pri-set
[RouterB-E1 1/0/0]
quit
# Assign an IP address to PRI1/0/0:15, enable C-DCC, and configure the dialer number.
[RouterB]
interface Serial 1/0/0:15
[RouterB-Serial1/0/0:15]
ip address 3.1.1.2 24
[RouterB-Serial1/0/0:15]
dialer enable-circular
[RouterB-Serial1/0/0:15]
dialer-group 2
[RouterB-Serial1/0/0:15]
dialer route ip 3.1.1.1 600501
[RouterB-Serial1/0/0:15]
quit
# Configure a static route.
[RouterB]
ip route-static 3.1.1.0 255.255.255.0 Serial 1/0/0:15 preference 60
4.
Configure BFD sessions between RouterA and RouterB.
# On RouterA, configure a BFD session bound to the destination address 4.1.1.2/24.
[RouterA]
bfd
[RouterA-bfd]
quit
[RouterA]
bfd test bind peer-ip 4.1.1.2
[RouterA-bfd-session-test]
discriminator local 10
[RouterA-bfd-session-test]
discriminator remote 100
[RouterA-bfd-session-test]
commit
[RouterA-bfd-session-test]
quit
# On RouterB, configure a BFD session bound to the destination address 2.1.1.1/24.
[RouterB]
bfd
[RouterB-bfd]
quit
[RouterB]
bfd test bind peer-ip 2.1.1.1
[RouterB-bfd-session-test]
discriminator local 100
[RouterB-bfd-session-test]
discriminator remote 10
[RouterB-bfd-session-test]
commit
[RouterB-bfd-session-test]
quit
5.
Configure association between interface backup and BFD on backup interface PRI1/0/0:15.
[RouterA]
interface Serial 1/0/0:15
[RouterA-Serial1/0/0:15]
standby track bfd-session session-name test
[RouterA-Serial1/0/0:15]
quit
6.
Verify the configuration.
Run the
display bfd session all verbose
command on RouterA. The command output
shows that the BFD session status is
Up
.
<RouterA>
display bfd session all verbose
------------------------------------------------------------------------------
--
Session MIndex : 256
(Multi Hop) State :Up
Name : test
------------------------------------------------------------------------------
--
Local Discriminator : 10 Remote Discriminator : 100
Session Detect Mode : Asynchronous Mode Without Echo Function
BFD Bind Type : Peer Ip Address
Bind Session Type : Static
Bind Peer Ip Address : 4.1.1.2
Bind Interface : -
FSM Board Id : 0 TOS-EXP : 7
Min Tx Interval (ms) : 1000 Min Rx Interval (ms) : 1000
Actual Tx Interval (ms): 1000 Actual Rx Interval (ms): 1000
Local Detect Multi : 3 Detect Interval (ms) : 3000
Echo Passive : Disable Acl Number : -
Destination Port : 3784 TTL : 254
Proc interface status : Disable Process PST : Disable
WTR Interval (ms) :
-
Active Multi : 3
Last Local Diagnostic : No Diagnostic
Bind Application : No Application Bind
Session TX TmrID : - Session Detect TmrID : -
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
1 Interface Backup Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
54