Configuring Route Reflection

The following route reflection example configures a single route reflector with two clients all of which are members of AS 1. Router 1 is the route reflector. Routers 2 and 3 are route reflector clients. Router 2 has an EBGP connection to Router 4 of AS 2. Router 3 has an EBGP connection to Router 5 of AS 3. Routers 2 and 3 advertise all their routes to Router 1. Router 1 advertises routes learned from Router 2 to Router 3 and routes learned from Router 3 to Router 2.

BGP Route Reflection Example Topology displays the BGP route reflection topology for this example.

Click to expand in new window
BGP Route Reflection Example Topology
Graphics/BGPRouteReflectorConfigurationExample1.png

Router 1

Router 1(rw)->configure
Router 1(rw-config)->interface vlan 1
Router 1(rw-config-intf-vlan.0.1)->ip address 200.10.1.1 255.255.255.0
Router 1(rw-config-intf-vlan.0.1)->no shutdown
Router 1(rw-config-intf-vlan.0.1)->exit
Router 1(rw)->configure
Router 1(rw-config)->interface vlan 2
Router 1(rw-config-intf-vlan.0.2)->ip address 200.10.2.1 255.255.255.0
Router 1(rw-config-intf-vlan.0.2)->no shutdown
Router 1(rw-config-intf-vlan.0.2)->exit
Router 1(rw)->configure
Router 1(rw-config)->router bgp 1
Router 1(su-config-bgp)->bgp router-id 1.1.1.1
Router 1(su-config-bgp)->bgp cluster-id 1.1.1.1
Router 1(su-config-bgp)->neighbor 200.10.1.2 remote-as 1
Router 1(su-config-bgp)->neighbor 200.10.1.2 route-reflector-client
Router 1(su-config-bgp)->neighbor 200.10.2.2 remote-as 1
Router 1(su-config-bgp)->neighbor 200.10.2.2 route-reflector-client
Router 1(su-config-bgp)->redistribute static
Router 1(su-config-bgp)->

Router 2

Router 2(rw)->configure
Router 2(rw-config)->interface vlan 1
Router 2(rw-config-intf-vlan.0.1)->ip address 200.10.1.2 255.255.255.0
Router 2(rw-config-intf-vlan.0.1)->no shutdown
Router 2(rw-config-intf-vlan.0.1)->exit
Router 2(rw)->configure
Router 2(rw-config)->interface vlan 3
Router 2(rw-config-intf-vlan.0.2)->ip address 200.10.3.1 255.255.255.0
Router 2(rw-config-intf-vlan.0.2)->no shutdown
Router 2(rw-config-intf-vlan.0.2)->exit
Router 2(rw)->configure
Router 2(rw-config)->router bgp 1
Router 2(su-config-bgp)->bgp router-id 2.2.2.2
Router 2(su-config-bgp)->neighbor 200.10.1.1 remote-as 1
Router 2(su-config-bgp)->neighbor 200.10.3.2 remote-as 2
Router 2(su-config-bgp)->redistribute static
Router 2(su-config-bgp)->

Router 3

Router 3(rw)->configure
Router 3(rw-config)->interface vlan 2
Router 3(rw-config-intf-vlan.0.2)->ip address 200.10.2.2 255.255.255.0
Router 3(rw-config-intf-vlan.0.2)->no shutdown
Router 3(rw-config-intf-vlan.0.2)->exit
Router 3(rw)->configure
Router 3(rw-config)->interface vlan 4
Router 3(rw-config-intf-vlan.0.4)->ip address 200.10.4.1 255.255.255.0
Router 3(rw-config-intf-vlan.0.4)->no shutdown
Router 3(rw-config-intf-vlan.0.4)->exit
Router 3(rw)->configure
Router 3(rw-config)->router bgp 1
Router 3(su-config-bgp)->bgp router-id 3.3.3.3
Router 3(su-config-bgp)->neighbor 200.10.2.1 remote-as 1
Router 3(su-config-bgp)->neighbor 200.10.4.2 remote-as 3
Router 3(su-config-bgp)->redistribute static
Router 3(su-config-bgp)->

Router 4

Router 4(rw)->configure
Router 4(rw-config)->interface vlan 3
Router 4(rw-config-intf-vlan.0.3)->ip address 200.10.3.2 255.255.255.0
Router 4(rw-config-intf-vlan.0.3)->no shutdown
Router 4(rw-config-intf-vlan.0.3)->exit
Router 4(rw)->configure
Router 4(rw-config)->router bgp 2
Router 4(su-config-bgp)->bgp router-id 4.4.4.4
Router 4(su-config-bgp)->neighbor 200.10.3.1 remote-as 1
Router 4(su-config-bgp)->redistribute static
Router 4(su-config-bgp)->

Router 5

Router 5(rw)->configure
Router 5(rw-config)->interface vlan 4
Router 5(rw-config-intf-vlan.0.4)->ip address 200.10.4.2 255.255.255.0
Router 5(rw-config-intf-vlan.0.4)->no shutdown
Router 5(rw-config-intf-vlan.0.4)->exit
Router 5(rw)->configure
Router 5(rw-config)->router bgp 3
Router 5(su-config-bgp)->bgp router-id 5.5.5.5
Router 5(su-config-bgp)->neighbor 200.10.4.1 remote-as 1
Router 5(su-config-bgp)->redistribute static
Router 5(su-config-bgp)->

Configuring BGP Route Reflection describes how to configure BGP route reflection.

Click to expand in new window

Configuring BGP Route Reflection

Step Task Command(s)
1 In BGP configuration mode, specify that the router will act as a route reflector for the specified neighbor. neighbor ip-address route-reflector-client
2 In BGP configuration mode, specify the route reflection cluster ID for the cluster the route reflector belongs to. This value defaults to the route reflector router ID if only a single route reflector is configured for the cluster, otherwise a cluster ID must be specified. bgp cluster-id router-id