
[RouterA-bfd-session-atob]
discriminator remote 2
[RouterA-bfd-session-atob]
min-rx-interval 50
[RouterA-bfd-session-atob]
min-tx-interval 50
[RouterA-bfd-session-atob]
commit
[RouterA-bfd-session-atob]
quit
# Configure a BFD session on Router B.
[RouterB]
bfd
[RouterB-bfd]
quit
[RouterB]
interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0]
ip address 10.1.1.2 24
[RouterB-GigabitEthernet2/0/0]
quit
[RouterB]
bfd btoa bind peer-ip 10.1.1.1 interface gigabitethernet 2/0/0
[RouterB-bfd-session-btoa]
discriminator local 2
[RouterB-bfd-session-btoa]
discriminator remote 1
[RouterB-bfd-session-btoa]
min-rx-interval 50
[RouterB-bfd-session-btoa]
min-tx-interval 50
[RouterB-bfd-session-btoa]
commit
[RouterB-bfd-session-btoa]
quit
Run the
display bfd session
command on Router A and Router B. You can see that BFD sessions
are Up. Use the display on Router A as an example.
<RouterA>
display bfd session all
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
1 2 10.1.1.2
Up
S_IP_IF GigabitEthernet2/0/0
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
Step 4
Associate BFD with RRPP.
# Track the BFD session on the backuprouter. If the BFD session is Down, the priority of Router
B increases by 40.
[RouterB]
interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0]
vrrp vrid 10 track bfd-session 2 increased 40
[RouterB-GigabitEthernet2/0/0]
quit
Run the
display vrrp
command on Route A or Router B. You can see that Router A is the master
and Router B is the backup. You can also see the tracked BFD session and its status on Router
B.
<RouterA>
display vrrp
GigabitEthernet2/0/0 | Virtual Router 10
State
:
Master
Virtual IP : 10.1.1.3
Master IP : 10.1.1.1
PriorityRun : 160
PriorityConfig : 160
MasterPriority : 160
Preempt : YES Delay Time : 0 s
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0110
Check TTL : YES
Config type : normal-vrrp
Create time : 2010-06-22 17:32:56
Last change time : 2010-06-22 17:33:00
<RouterB>
display vrrp
GigabitEthernet2/0/0 | Virtual Router 10
State
:
Backup
Virtual IP : 10.1.1.3
Master IP : 10.1.1.1
PriorityRun : 140
PriorityConfig : 140
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
103