- Silver, 250 points or more
Based on the following link:
I was doing a lab test for this new feature. The lab senario is very simple, R1 send 10.1.1.0/24 to R2, R2 will conditional injects 10.1.1.0/25 and 10.1.1.128/25 to the BGP table. Unfortunately, I failed to make this happen. Below is the show ip bgp command output:
r2#sh ip bgp 10.1.1.0
BGP routing table entry for 10.1.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Not advertised to any peer
10.0.0.1 from 10.0.0.1 (10.2.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
r2#sh ip bgp inj
r2#sh ip bgp injected-paths
As you can see, there is no routes to be injected which should be there. I 've tried it over and over but no luck. Could anybody help me figure out this issue. What have I missed?
Attached is the configuration of r1 and r2.
Thanks for your helps.
The issue is with the ROUTE_SOURCE prefix-list. You are matching against the BGP RID, when the route source should be the BGP next hop (10.0.0.1). Just change the prefix-list and it should work.
Hope this helps,