# Configure the IBGP connection.
[RouterB-bgp] peer 9.1.1.2 as-number 65009
# Inject networks 200.1.1.0/24 and 9.1.1.0/24 to the BGP routing table.
[RouterB-bgp] network 200.1.1.0 24
[RouterB-bgp] network 9.1.1.0 24
# Enable GR capability for BGP.
[RouterB-bgp] graceful-restart
Configure Router C:
3.
# Configure IP addresses for interfaces. (Details not shown.)
# Configure the IBGP connection.
<RouterC> system-view
[RouterC] bgp 65009
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] peer 9.1.1.1 as-number 65009
# Enable GR capability for BGP.
[RouterC-bgp] graceful-restart
Verify the configuration:
4.
Ping Router C on Router A. Meanwhile, perform an active/standby switchover on Router B. The
ping operation is successful during the whole switchover process.
BFD for BGP configuration
Network requirements
As shown in
•
Configure OSPF as the IGP in AS 200.
•
Establish two IBGP connections between Router A and Router C. When both links are working,
Router C adopts the link Router A<—>Router B<—>Router C to exchange packets with
network 1.1.1.0/24. Configure BFD over the link. Then if the link fails, BFD can quickly detect
the failure and notify it to BGP. Then the link Router A<—>Router D<—>Router C takes effect
immediately.
Figure 82 Network diagram
1.1.1.0/24
AS 100
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Figure
82,
GE2/1/2
3.0.1.1/24
Router A
GE2/1/1
2.0.1.1/24
Router B
GE2/1/2
GE2/1/1
3.0.1.2/24
3.0.2.1/24
AS 200
GE2/1/1
GE2/1/2
2.0.1.2/24
2.0.2.1/24
Router D
259
GE2/1/1
3.0.2.2/24
AS 300
Router C
GE2/1/2
2.0.2.2/24