Troubleshooting notes · BGP
BGP route reflector not reflecting routes to clients
The route reflector has iBGP sessions to every router, but a client still never learns a prefix. Two common causes: no route-reflector-client, and an unreachable next hop. Real output from Cisco IOS XE 17.18.
The symptom
You made R1 a route reflector so R2 and R3 don't need a full iBGP mesh. R2 learns 192.0.2.0/24 from an eBGP partner, but R3 never receives it.
Cause 1: the reflector has no clients
An iBGP router never passes a route learned from one iBGP peer to another iBGP peer. A route reflector may break that rule, but only for neighbours marked as clients. Without that, R1 behaves like any iBGP router and reflects nothing. The command goes on the reflector, pointing at each client:
R1(config)# router bgp 65000
R1(config-router)# address-family ipv4
R1(config-router-af)# neighbor 2.2.2.2 route-reflector-client
R1(config-router-af)# neighbor 3.3.3.3 route-reflector-client
The clients themselves need no special configuration.
Cause 2: the next hop is unreachable, so nothing is "best"
Even with clients configured, R3 can still be missing the route. Look at the reflector's own table:
R1# show ip bgp | begin Network
Network Next Hop Metric LocPrf Weight Path
*>i 10.3.3.0/24 3.3.3.3 0 100 0 i
* i 192.0.2.0 198.51.100.2 0 100 0 64500 i
R2 passed the route on with the partner's address as next hop. R1 can't reach that address, so the path has no >: it isn't best. A BGP router only advertises its best paths, and a route reflector only reflects its best paths, so nothing reaches R3.
The fix
Set next-hop-self on the edge router that learned the route from eBGP, not on the reflector, then resend the updates:
R2(config)# router bgp 65000
R2(config-router)# address-family ipv4
R2(config-router-af)# neighbor 1.1.1.1 next-hop-self
R2(config-router-af)# end
R2# clear ip bgp 1.1.1.1 soft out
Check it
R3# show ip bgp 192.0.2.0 | include Paths|from|Originator|best
Paths: (1 available, best #1, table default)
2.2.2.2 (metric 21) from 1.1.1.1 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, internal, best
Originator: 2.2.2.2, Cluster list: 1.1.1.1
R3 gets the route from the reflector (1.1.1.1), but the next hop is still R2 (2.2.2.2): a route reflector doesn't change the next hop. The Originator and Cluster list attributes are what stop reflected routes from looping.
Practise this fault
This fault is in ENARSI Lab 24 of ENARSI Troubleshooting Labs: a ready-made GNS3 project where you find and fix it yourself, alongside the other faults in the ticket, with the tested solution.
Or start with 15 free labs (5 each from CCNA, ENARSI and ENCOR), by email:
We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.