
[RouterB-GigabitEthernet2/0/0.1]
quit
Step 6
Verify the configuration.
Run the
display vrrp
command. You can view that the status of the BFD session tracked by
VRRP backup group 1 is
Up
. Use the display on Router A as an example.
[RouterA]
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State : Master
Virtual IP : 100.1.1.100
PriorityRun : 160
PriorityConfig : 160
MasterPriority : 160
Preempt : YES Delay Time : 0
TimerRun : 1
TimerConfig : 1
Virtual Mac : 0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Config track link-bfd down-number : 0
Track BFD : 1 Priority reduced : 10
BFD-session state :
UP
----End
Configuration Files
l
Configuration file of Router A
#
sysname RouterA
#
bfd
#
interface GigabitEthernet 1/0/0
ip address 192.168.2.1 24
#
interface GigabitEthernet2/0/0.1
control-vid 1 dot1q-termination
dot1q termination vid 10
dot1q vrrp vid 10
ip address 100.1.1.1 24
vrrp vrid 1 virtual 100.1.1.100
vrrp vrid 1 priority 160
vrrp vrid 1 track bfd-session 1
arp broadcast enable
#
bfd atob bind peer-ip 100.1.1.2 interface gigabitethernet 2/0/0.1
discriminator local 1
discriminator remote 2
commit
#
ospf 1
area 0.0.0.0
network 192.168.2.0 0.0.0.255
network 100.1.1.0 0.0.0.255
#
return
l
Configuration file of Router B
#
sysname RouterB
#
bfd
#
interface GigabitEthernet 1/0/0
ip address 192.168.1.1 24
#
interface GigabitEthernet2/0/0.1
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.
187