Attribute value : MED 0, pref-val 0, pre 255
State
Not advertised to any peers yet
The route 9.1.1.0/24 is not available in the routing table of Switch C.
BGP route reflector configuration example
Network requirements
In
Figure
66, all switches run BGP.
Between Switch A and Switch B is an EBGP connection; between Switch C and Switch B, and
•
between Switch C and Switch D are IBGP connections.
•
Switch C is a route reflector with clients Switch B and D.
Switch D can learn route 1.0.0.0/8 from Switch C.
•
Figure 66 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure BGP connections:
2.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 192.1.1.2 as-number 200
# Inject network 1.0.0.0/8 to the BGP routing table.
[SwitchA-bgp] network 1.0.0.0
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 200
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 192.1.1.1 as-number 100
[SwitchB-bgp] peer 193.1.1.1 as-number 200
[SwitchB-bgp] peer 193.1.1.1 next-hop-local
[SwitchB-bgp] quit
: valid, external, best,
172