R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
309
[RouterC] display bgp routing-table ipv4
Total number of routes: 0
The output shows that BGP has not learned any route.
BGP route reflector configuration example
Network requirements
As shown in Figure 70, run EBGP between Router A and Router B, run IBGP 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 20.0.0.0/8 from Router C.
Figure 70 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] router-id 1.1.1.1
[RouterA-bgp] peer 192.1.1.2 as-number 200
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 192.1.1.2 enable
# Inject network 20.0.0.0/8 to the BGP routing table.
[RouterA-bgp-ipv4] network 20.0.0.0
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 200
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 192.1.1.1 as-number 100
[RouterB-bgp] peer 193.1.1.1 as-number 200
[RouterB-bgp] address-family ipv4 unicast
[RouterB-bgp-ipv4] peer 192.1.1.1 enable