
control-vid 1 dot1q-termination
dot1q termination vid 10
dot1q vrrp vid 10
ip address 100.1.1.2 24
vrrp vrid 1 virtual 100.1.1.100
vrrp vrid 1 track bfd-session 2
arp broadcast enable
#
bfd atob bind peer-ip 100.1.1.1 interface gigabitethernet 2/0/0.1
discriminator local 2
discriminator remote 1
commit
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 100.1.1.0 0.0.0.255
#
return
l
Configuration file of Router C
#
sysname RouterC
#
bfd
#
interface GigabitEthernet 1/0/0
ip address 192.168.2.2 24
#
interface GigabitEthernet 2/0/0
ip address 192.168.1.2 24
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
#
return
l
Configuration file of the switch
#
sysname Switch
#
vlan 10
#
interface GigabitEthernet1/0/0
port link-type access
port default vlan 10
#
interface GigabitEthernet1/0/1
port link-type access
port default allow-pass vlan 10
#
interface GigabitEthernet1/0/2
port link-type access
port default allow-pass vlan 10
#
return
3.13.5 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.
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.
188