default static route and OSPF routing on MS425

Solved
RbradComms
Here to help

default static route and OSPF routing on MS425

We are just introducing MS425 as L3 switches into our network. we initially just had a default static route. Now we have configured OSPF, we want the default route to come from the primary or secondary WAN routers via OSPF.

1) I can't remove the Static route

2) What ever I do it still sees the route as static

though it says this

RbradComms_0-1637841501164.pngRbradComms_1-1637841556135.png

How do I fix!

On a Classic Cisco I would just increase the cost of the Static route

 

1 Accepted Solution
Ryan_Miles
Meraki Employee
Meraki Employee

Is there a default route in EIGRP or BGP that should be distributed via OSPF? I would typically expect to see default-information originate in the OSPF section to propagate the default route.

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.

View solution in original post

3 Replies 3
Ryan_Miles
Meraki Employee
Meraki Employee

what is the ospf config of the routers?

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
RbradComms
Here to help

Here is the OSPF for WAN routers

 

RT01-Primary for Data
**********************
router ospf 1
router-id 172.16.98.42
redistribute eigrp 1 subnets
redistribute bgp 64589 subnets route-map BGP-to-OSPF
network 172.16.100.216 0.0.0.3 area 0

 

route-map BGP-to-OSPF, permit, sequence 10
Match clauses:
ip address prefix-lists: vocus-sip-service
Set clauses:
metric 70                                   <<<<< higher cost for voice service
Policy routing matches: 0 packets, 0 bytes
route-map BGP-to-OSPF, permit, sequence 20
Match clauses:
ip address prefix-lists: Prefix-in
Set clauses:
metric 20                          <lower cost default route here

 

RT02-Primary for Voice
***************************
router ospf 1
router-id 172.16.97.42
redistribute eigrp 1 metric 160 subnets
redistribute bgp 65032 subnets route-map BGP-to-OSPF
network 172.16.100.224 0.0.0.3 area 0

route-map BGP-to-OSPF permit 10
match ip address prefix-list vocus-sip-service
set metric 20                  <<<<Lower cost for Voice


route-map BGP-to-OSPF permit 20
match ip address prefix-list Prefix-in
set metric 70  <<< higher cost for default traffic

 

Normally default route via RT01, but if problem on RT01 will go thru RT02,

But the default route is not advertised on the Meraki, has static going to RT01 so would cause problems if RT01 or WAN  failed

On a cisco router would normally increase the cost of the static route to give preference to OSPF

 

 

Ryan_Miles
Meraki Employee
Meraki Employee

Is there a default route in EIGRP or BGP that should be distributed via OSPF? I would typically expect to see default-information originate in the OSPF section to propagate the default route.

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels