R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
268
BGP GR configuration
Network requirements
In Figure 81 are all BGP routers. EBGP runs between Router A and Router B. IBGP runs between router B
and Router C. Enable GR capability for BGP so that the communication between Router A and Router C
cannot be affected when an active/standby switchover occurs on Router B.
Figure 81 Network diagram
Configuration procedure
1. Configure Router A:
# Configure IP addresses for interfaces. (Details not shown.)
# Configure the EBGP connection.
<RouterA> system-view
[RouterA] bgp 65008
[RouterA-bgp] router-id 1.1.1.1
[RouterA-bgp] peer 200.1.1.1 as-number 65009
# Inject network 8.0.0.0/8 to the BGP routing table.
[RouterA-bgp] network 8.0.0.0
# Enable GR capability for BGP.
[RouterA-bgp] graceful-restart
2. Configure Router B:
# Configure IP addresses for interfaces. (Details not shown.)
# Configure the EBGP connection.
<RouterB> system-view
[RouterB] bgp 65009
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 200.1.1.2 as-number 65008
# 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
3. Configure Router C:
# Configure IP addresses for interfaces. (Details not shown.)
Router A
(GR helper)
AS 65008
S2/2/1
200.1.1.1/24
Router B
(GR Restarter)
Router C
(GR helper)
AS 65009
GE2/1/1
8.1.1.1/8
S2/2/1
200.1.1.2/24
S2/2/0
9.1.1.1/24
S2/2/0
9.1.1.2/24