Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Static routes and OSPF routes

we are primarily using ospf links and same time we have ststic routes backup as well for same destination router.my question is if sttic down will ospf get active?

4 REPLIES
Bronze

Re: Static routes and OSPF routes

Hi

For the same route(ie,with matching subnets) if u have both static and ospf,then static will be prefer as that have the lower AD than ospf,and when the static route gets down,(normaly if u remove it or the nexthop specified in static goes down)then ospf will take care of the route..

hope this is what u are looking for..

arun

New Member

Re: Static routes and OSPF routes

is OSPF automatically take care or we have to remove the sttic entries.

btw how to switch for upload traffic for specific ether block through sttic and ospf

Bronze

Re: Static routes and OSPF routes

Hi,

The static entry is prefered over ospf as said earlier.ospf will take over only if the AD of static entry is made higher than ospf or the next hop of static entry is down or u remove the static entry...

I didnt got what u mean in second part!!!!!!pls can u be little more specific..

arun

New Member

Re: Static routes and OSPF routes

try to configure higher AD for static route

"ip route x.x.x.x x.x.x.x 150"

It will increase AD of static route and use OSPF (AD = 110)

175
Views
0
Helpful
4
Replies
CreatePlease to create content