12-07-2009 12:15 AM - edited 03-06-2019 08:51 AM
Hello, All.
I added static route like this:
ip route xx.yy.zz.0 255.255.255.0 Null0 254
But "show ip route static" doesn't show it.
I use this static route to redistribute it into BGP.
Platform is Catalyst 6509 with SUP2.
Why doesn't this route appear in RIB?
Solved! Go to Solution.
12-07-2009 01:10 AM
Hi,
Yes. Setting administrative distance as 255 will make the router to consider the prefix as invalid and will not install the same in routing table.
HTH,
Nagendra
12-07-2009 12:31 AM
Hi,
Does your routing table already have xx.yy.zz.0 entry?.
What does "show ip route xx.yy.zz.0" gives you?.
You have configured this static route with 254 as administrative distance. If you have learnt this network from any other routing protocol, they will have less administrative distance and will be preferred.
Regards,
Nagendra
12-07-2009 01:00 AM
"show ip route xx.yy.zz.0" gives me info that I get this route from ospf from other router.
After that I shut ospf on router that originates this xx.yy.zz.0 and found my mistake: on 6509 I wrote 255 as administrative distance. I changed it to 254 and this route appeared in RIB and was redistributed to BGP.
Does distance 255 prevent route to be inserted into RIB?
12-07-2009 01:10 AM
Hi,
Yes. Setting administrative distance as 255 will make the router to consider the prefix as invalid and will not install the same in routing table.
HTH,
Nagendra
12-07-2009 01:18 AM
Thank You, Naikumar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide