R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

319
BGP local router ID is 195.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* >i 1.0.0.0 193.1.1.1 200 0 100i
* i 192.1.1.1 100 0 100i
The route 1.0.0.0/8 learned from Router C is the optimal route.
BGP GR configuration example
Network requirements
As shown in Figure 73, run EBGP between Router A and Router B, and run IBGP between Router B and
Router C.
Configure BGP GR so that the communication between Router A and Router C is not affected when an
active/standby switchover occurs on Router B.
Figure 73 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
# Enable GR capability for BGP.
[RouterA-bgp] graceful-restart
# Inject network 8.0.0.0/8 to the IPv4 BGP routing table.
[RouterA-bgp] address-family ipv4
[RouterA-bgp-ipv4] network 8.0.0.0
# Enable Router A to exchange IPv4 unicast routing information with Router B.
[RouterA-bgp-ipv4] peer 200.1.1.1 enable
2. Configure Router B:
# Configure IP addresses for interfaces. (Details not shown.)