R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

269
# 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
4. Verify the configuration:
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 Figure 82,
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
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPF so that Router A and Router C are reachable to each other. (Details not shown.)
3. Configure BGP on Router A:
# Establish two IBGP connections to Router C.
<RouterA> system-view
[RouterA] bgp 200
[RouterA-bgp] peer 3.0.2.2 as-number 200
[RouterA-bgp] peer 2.0.2.2 as-number 200
[RouterA-bgp] quit
GE2/1/1
2.0.1.1/24
GE2/1/2
2.0.2.2/24
Router A Router C
AS 200
Router D
GE2/1/1
2.0.1.2/24
GE2/1/2
2.0.2.1/24
GE2/1/2
3.0.1.1/24
GE2/1/2
3.0.1.2/24
GE2/1/1
3.0.2.1/24
GE2/1/1
3.0.2.2/24
Router B
AS 100 AS 300
1.1.1.0/24