ip address 200.1.4.2 255.255.255.0
#
interface Pos2/0/0
undo shutdown
link-protocol ppp
ip address 200.1.2.2 255.255.255.0
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
bgp 300
router-id 3.3.3.3
peer 200.1.2.1 as-number 100
peer 200.1.4.1 as-number 200
#
ipv4-family unicast
undo synchronization
peer 200.1.2.1 enable
peer 200.1.4.1 enable
#
return
l
Configuration file of Router D
#
sysname RouterD
#
interface Pos1/0/0
undo shutdown
link-protocol ppp
ip address 200.1.4.1 255.255.255.0
#
interface Pos2/0/0
undo shutdown
link-protocol ppp
ip address 200.1.3.1 255.255.255.0
#
interface GigabitEthernet3/0/0
undo shutdown
ip address 8.1.1.1 255.255.255.0
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
#
bgp 200
router-id 4.4.4.4
peer 200.1.3.2 as-number 300
peer 200.1.4.2 as-number 300
#
ipv4-family unicast
undo synchronization
network 8.1.1.0 255.255.255.0
peer 200.1.3.2 enable
peer 200.1.4.2 enable
#
return
8.28.11 Example for Configuring BFD for BGP
If the link between two BGP peers fails, BFD quickly detects the fault and notifies the fault to
BGP to make service traffic be switched to the backup link. Using BFD for BGP improves
service transmission reliability.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1024