Attribute value : MED 0, pref-val 0, pre 255
State
Not advertised to any peers yet
The output shows that BGP has not learned any route.
BGP route reflector configuration
Network requirements
As shown in
•
EBGP runs between Router A and Router B. IBGP runs between Router C and Router B, and between
Router C and Router D.
Router C is a route reflector with clients Router B and D.
•
Router D can learn route 1.0.0.0/8 from Router C.
•
Figure 67 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure BGP connections:
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 100
[RouterA-bgp] peer 192.1.1.2 as-number 200
# Inject network 1.0.0.0/8 to the BGP routing table.
[RouterA-bgp] network 1.0.0.0
[RouterA-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 200
[RouterB-bgp] peer 192.1.1.1 as-number 100
[RouterB-bgp] peer 193.1.1.1 as-number 200
[RouterB-bgp] peer 193.1.1.1 next-hop-local
[RouterB-bgp] quit
# Configure Router C.
<RouterC> system-view
[RouterC] bgp 200
: valid, external, best,
Figure
67, all routers run BGP.
230