cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
560
Views
10
Helpful
6
Replies

Questions for Multiple static route

Aung Mon
Level 1
Level 1

Dear All,

           Could you please answer for the following:

1)  How many static route can be assign on a single router. ( I mean that how many floating static route)

2)  Please , how to increase administrative distance for backup static route and how to verify this clearly.

Thanks.

6 Replies 6

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

1)  How many static route can be assign on a single router. ( I mean that how many floating static route)

It depends of the router model. I dont have an aprox but please let me verify that info. In some devices like ASR routers the range will be from 1 to 140,000 static routes.

2)  Please , how to increase administrative distance for backup static route and how to verify this clearly.

In order to increase the Administrative to a static route, the following example will be useful, this procedure is also called floating static routes.

By default the AD for static route is 1

ip route 10.0.0.0 255.255.255.0 1.1.1.1    (default)

ip route 10.0.0.0 255.255.255.0 1.1.1.1  20 (static route with AD 20)

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

These links can be useful to understand the floating static route. it basically is create a redundancy static route with different nexthop but with different administrative distance. So if the static route with lowest AD fails, the back up will be ready to forward the traffic to that destination. 

https://howdoesinternetwork.com/2013/static-floating-route

http://www.ciscopress.com/articles/article.asp?p=2180209&seqNum=7




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Mr. Julio Moisa,

 Thanks for your explanation and references. That was enough for me. Thank a lot.

It was a pleasure 

Have a great day

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Joseph W. Doherty
Hall of Fame
Hall of Fame

For #1, I'm unsure there's any logical cap.  If there was, it's likely a huge value.  I would suspect you might run out of flash space, trying to save a config, with a huge number of static routes first.

For #2

router(config)#ip route 1.1.1.1 2.2.2.2 3.3.3.3 ?
  <1-255>    Distance metric for this route
  name       Specify name of the next hop
  permanent  permanent route
  tag        Set tag for this route
  track      Install route depending on tracked item
  <cr>

Unsure what you mean by "... how to verify clearly."

Mr. Joseph W.Doherty,

            Your answers was very useful for me. Thank a lot.