
275
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.)
# 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
# Enable GR capability for BGP.
[RouterB-bgp] graceful-restart
# Inject networks 200.1.1.0/24 and 9.1.1.0/24 to the IPv4 BGP routing table.
[RouterB-bgp] address-family ipv4
[RouterB-bgp-ipv4] network 200.1.1.0 24
[RouterB-bgp-ipv4] network 9.1.1.0 24
# Enable Router B to exchange IPv4 unicast routing information with Router A and Router C.
[RouterB-bgp-ipv4] peer 200.1.1.2 enable
[RouterB-bgp-ipv4] peer 9.1.1.2 enable
3.
Configure Router C:
# 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
# Enable Router C to exchange IPv4 unicast routing information with Router B.
[RouterC-bgp] address-family ipv4