cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
211
Views
3
Helpful
9
Replies

Cisco alternative for Juniper static route no-install statement

vivsingh
Level 1
Level 1

Hi Community,

This is my first post here. I am looking for alternative feature in Cisco for the Juniper static route no-install statement.

Objective is to redistribute static routes without installing in the router's forwarding table. 

Thank you in advance !

9 Replies 9

What protocol you use ?

Is static route is defualt route ?

MHM

@MHM Cisco World - Thank you for your response. I am not using static default route, I am summarizing RFC1918 using static Null0 prefixes and redistributing via eBGP to an internet router.

Now,All the private segment (for instance: 192.168.0.0/16) are not in the same AS and need to be send to different AS.

Adding a static route with AD 255 will not install it in route table. Hence, will not redistribute via BGP.

Adding a static route with less AD well will take precendence in routing table and silently drop the packet.

Juniper gives an option add route to the routing table but not to install in forwarding table.

I am trying to achieve the same here.

 

So I understand there is 192.168.0.0/ge 16 in your rib' 

Router dont send to null0 and drop traffic if there is longest match

I.e.

192.168.0.0 /24 in your Rib 

And you advertise 192.168.0.0/16

When traffic come the router check rib and find that 192.168.0.0/24 is longest match and forward traffic and not drop it.

I think you need only do summary your prefix correctly and the  you can free use it in static route to null0 and advertise via ebgp.

MHM

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @vivsingh ,

you may try to use AD = 255 in a floating static route and to test what happens.

ip route <network> <mask> <next-hop> 255

Hope to help

Giuseppe

 

I had the same thought.  Also unsure redistribution will pick it up with a 255.

I could try it in Packet Tracer or CML (as I don't have any access to real hardware [BTW what's the target platform?]).

Or perhaps @MHM Cisco World would lab it up (as he is a lab demon).

Sure I can but I need to know what Routing protocol he use and if he talk about defualt or static route.

MHM

Hi @Joseph W. Doherty ,

A route with an administrative distance of 255 will simply not be installed in the RIB and would therefore not be available for redistribution.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi there,

Thanks for your response, but I dont think this will solve the problem. With AD = 255 will not install the route in routing table and hence will not restribute via BGP.

Harold Ritter
Cisco Employee
Cisco Employee

Hi @vivsingh ,

I can't really think of a way to do that for static routes in IOS. It can be done for BGP routes using a table-map, but this does not apply to static routes.

Can you explain a bit more about your setup and why it is important for the static route to be installed in the RIB, but not in the FIB?

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card