BGP Configuration Example 473
Figure 155 Networking diagram of configuring route reflector
1 Configure Router A:
[RouterA] bgp 100
[RouterA-bgp] undo synchronization
[RouterA-bgp] peer 192.1.1.2 as-number 200
[RouterA-bgp] interface serial 0
[RouterA-Serial0] ip address 192.1.1.1 255.255.255.0
2 Configure Router B:
a Configure BGP peers
[RouterB] bgp 200
[RouterA-bgp] undo synchronization
[RouterB-bgp] peer 192.1.1.1 as-number 100
[RouterB-bgp] peer 193.1.1.1 as-number 200
b Enable OSPF
[RouterB] ospf enable
c Configure Serial 0
[RouterB-ospf] interface serial 0
[RouterB-Serial0] ip address 192.1.1.2 255.255.255.0
d Configure Serial 1
[RouterB-Serial0] interface serial 1
[RouterB-Serial1] ip address 193.1.1.2 255.255.255.0
[RouterB-Serial1] ospf enable area 0
3 Configure Router C:
a Configure BGP peers and route reflector clients
[RouterC] bgp 200
[RouterA-bgp] undo synchronization
[RouterC-bgp] peer 193.1.1.2 as-number 200 reflect-client
[RouterC-bgp] peer 193.1.1.2 reflect-client
[RouterC-bgp] peer 194.1.1.2 as-number 200 reflect-client
[RouterC-bgp] peer 194.1.1.2 reflect-client
b Enable OSPF
[RouterC] ospf enable
c Configure Serial 0
[RouterC-ospf] interface serial 0
IBGP
IBGP
EBGP
Route reflector client
Route reflector
S1
194.1.1.1/24
S0
193.1.1.1/24
S1
193.1.1.2/24
S0
194.1.1.2/24
S0
192.1.1.2/24
S0
192.1.1.1/24
2.2.2.2
4.4.4.4
1.1.1.1
3.3.3.3
AS100 AS200
Connected with
network 1.0.0.0
S1
Router C
Router B
Router D
Router A
Route reflector client
Router E
S2
S0
IBGP
5.5.5.5