Configuring Route Reflection
1. Configure an AS.
2. Configure a route reflector client.
3. Verify configuration.
© Copyright Lenovo 2016
Route reflection functionality can be configured as follows:
RS G8264(config)# router bgp
RS G8264(configrouterbgp)# as 22
RS G8264(configrouterbgp)# enable
RS G8264(configrouterbgp)# neighbor 2 remoteaddress 10.1.50.1
RS G8264(configrouterbgp)# neighbor 2 remoteas 22
RS G8264(configrouterbgp)# neighbor 2 routereflectorclient
RS G8264(configrouterbgp)# no neighbor 2 shutdown
Note: When a client is configured on the G8264, the switch automatically gets
configured as a route reflector.
RS G8264(config)# show ip bgp neighbor 2 information
BGP Peer 2 Information:
2: 10.1.50.1 , version 0, TTL 255, TTL Security hops 0
Remote AS: 0, Local AS: 22, Link type: IBGP
Remote router ID: 0.0.0.0, Local router ID: 9.9.9.9
nexthopself disabled
RR client enabled
BGP status: connect, Old status: connect
Total received packets: 0, Total sent packets: 0
Received updates: 0, Sent updates: 0
Keepalive: 0, Holdtime: 0, MinAdvTime: 60
LastErrorCode: unknown(0), LastErrorSubcode: unspecified(0)
Established state transitions: 0
Once configured as a route reflector, the switch, by default, passes routes between
clients. If required, you can disable this by using the following command:
RS G8264(configrouterbgp)# no clienttoclient reflection
You can view the route reflector BGP attributes attached to a BGP route using the
following command:
RS G8264(configrouterbgp)# show ip bgp information 5.0.0.0
255.255.255.0
BGP routing table entry for 5.0.0.0/255.255.255.0
Paths: (1 available, best #1)
Multipath: eBGP
Local
30.1.1.1 (metric 0) from 22.22.1.1(17.17.17.17)
Origin: IGP, localpref 0, valid, internal, best
Originator: 1.16.0.195
Cluster list: 17.17.17.17
Chapter 34: Border Gateway Protocol
535