cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
665
Views
0
Helpful
0
Replies

Prefer OSPF route over OSPF NXOS

velo84
Level 1
Level 1

I have two of the same routes in my routing table, one is OSPF and one is eBGP. I want the OSPF route to be preferred over the BGP route. (The eBGP route will be the backup route when the OSPF route is gone)

I configured a BGP route map to apply a higher distance to the eBGP route (currently 20) but it didn't seem to work (the distance remains unchanged) I found this document which says that it only works for OSPF?

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/unicast/configuration/guide/l3_cli_nxos/l3_rpm.html

 

ip prefix-list backup-routes seq 10 permit 10.0.10.0/24

route-map routes-in permit 10
  match ip address backup-routes
  set distance 250

 

Is there another way to do this?

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: