Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

static, eigrp routes

Hi all, whats the max number of equal cost and static routes i can use for both static and eigrp to the same destination ?

5 REPLIES
New Member

Re: static, eigrp routes

For EIGRP:

- 6 equal (assuming max-paths 6 is configured)

- Static route entries are not exchanged by routers

New Member

Re: static, eigrp routes

how many statics to the same dest can you have ?

New Member

Re: static, eigrp routes

IIRC, No maximum. The max number of static routes is NVRAM/CPU dependant.

HTH

Re: static, eigrp routes

Hi, carl

I have designed a lab to test this question.

First, I created 8 sub-interfaces on one router and connect them to another router's sub-interfaces. Then I created 8 static routes by "ip route" command and pointed to the same destination (another router's loopback interface), each with different next-hop address which is the ip address of another router's subinterface. I typed "show ip route" and I saw only six static routes intalled in the routing table.

So, if your question is "How many static routes to the same destination can a routing table have?". The answer is 6.

Anyway, I cannot find any document to support this lab result. If anyone can find this document or you can have more than 6 routes to the same destination installed in the routing table, let me know.

SSLIN

New Member

Re: static, eigrp routes

I'm assuming your question covers the active routing table containing both static routes and EIGRP dynamically learned routes to the same destination. Administrative distance will prevent that from being possible by default. Static routes pointing to an address will have an admin distance of 1, pointing to an interface will have a distance of 0. EIGRP learned routes have an administrative distance of 90, so your router in question will choose the static routes as the successors and the dynamically learned routes will become feasible successors. You could try raising the administrative distance for the static routes by adding the (distance 90) command at the end of the static route command. I'm not sure if that will work since static routes are overriding the dynamic routing decision, but it might.

220
Views
0
Helpful
5
Replies
CreatePlease to create content