![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 414](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453414.webp)
3.
Configure the association between the BFD status and the interface status on Router A
when the BFD session is Up.
4.
Configure the association between the BFD status and the interface status on Router B
when the BFD session is Up.
Data Preparation
To complete the configuration, you need the following data:
l
Peer IP address for a BFD session
l
Local interface sending and receiving BFD control packets
l
Local and remote discriminators of a BFD session
NOTE
The default minimum sending interval, minimum receiving interval, and local detection multiplier for BFD
control packets are used.
Procedure
Step 1
Configure the IP addresses of the interfaces directly connecting Router A and Router B.
# Configure the IP address of the interface on Router A.
<HUAWEI>
system-view
[HUAWEI]
sysname RouterA
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
undo shutdown
[RouterA-GigabitEthernet1/0/0]
ip address 10.1.1.1 24
[RouterA-GigabitEthernet1/0/0]
quit
# Configure the IP address of the interface on Router B.
<HUAWEI>
system-view
[HUAWEI]
sysname RouterB
[RouterB]
interface gigabitethernet 1/0/0
[RouterB-GigabitEthernet1/0/0]
undo shutdown
[RouterB-GigabitEthernet1/0/0]
ip address 10.1.1.2 24
[RouterB-GigabitEthernet1/0/0]
quit
Step 2
Configure a single-hop BFD session.
# On Router A, enable BFD and configure a BFD session between Router A and Router B.
[RouterA]
bfd
[RouterA-bfd]
quit
[RouterA]
bfd atob bind peer-ip default-ip interface gigabitethernet 1/0/0
[RouterA-bfd-session-atob]
discriminator local 10
[RouterA-bfd-session-atob]
discriminator remote 20
[RouterA-bfd-session-atob]
wtr 5
[RouterA-bfd-session-atob]
commit
[RouterA-bfd-session-atob]
quit
# On Router B, enable BFD and configure a BFD session between Router B and Router A.
[RouterB]
bfd
[RouterB-bfd]
quit
[RouterB]
bfd btoa bind peer-ip default-ip interface gigabitethernet 1/0/0
[RouterB-bfd-session-btoa]
discriminator local 20
[RouterB-bfd-session-btoa]
discriminator remote 10
[RouterB-bfd-session-btoa]
wtr 5
[RouterB-bfd-session-btoa]
commit
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
5 BFD Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
397