Using BGP Route Reflectors
Problem
You want to simplify your iBGP peer relationships by using route reflectors.
Solution
There are three types of configurations to consider when working
with BGP Route Reflectors: the Route Reflector itself, the Client
Peer, and the Nonclient Peer. In this example, which follows Figure 9-4, the Route
Reflector is Router2
, and it has
two Client Peers—Router1
and
Router3
. It also has a Nonclient
Peer, Router4
.
The configurations for Client and Nonclient Peers contain no
special commands. Router1
is the
Client Peer:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface
Router1(config-if)#
Ethernet0/0
ip address
Router1(config-if)#
172.18.5.2 255.255.255.0
exit
Router1(config)#interface
Router1(config-if)#
Serial0/0
ip address
Router1(config-if)#
192.168.1.6 255.255.255.252
exit
Router1(config)#interface
Router1(config-if)#
Loopback0
ip address
Router1(config-if)#
172.18.6.1 255.255.255.255
exit
Router1(config)#router bgp
Router1(config-router)#
65500
no synchronization
Router1(config-router)#neighbor
172.18.6.2
remote-as
Router1(config-router)#
65500
neighbor
172.18.6.2
next-hop-self
Router1(config-router)#neighbor
172.18.6.2
update-source
Router1(config-router)#
Loopback0
neighbor
192.168.1.5
remote-as
Router1(config-router)#
65510
exit
Router1(config)#ip route
Router1(config)#
172.18.6.2 255.255.255.255 172.18.5.3
ip route
Router1(config)#
172.18.6.3 255.255.255.255 172.18.5.4
ip route
172.18.6.4 255.255.255.255 ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.