Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Hllrdm
Contributor

Routemap in OSPF and BGP

I have two dynamic routing protocols configured: OSPF and BGP.
Protocol Rank is lower for OSPF than BGP, so the priority of OSPF routes is higher than BGP.
I have several of the same OSPF and BGP routes coming in, the OSPF routes have priority. I need a certain BGP route to have a higher priority than OSPF. I understand Routemap solves this problem, but I have no experience with this task. Can you please tell me how to correctly write a routemap to prioritize a route 10.11.2.0/24 from BGP over OSPF?

0 Kudos
2 Replies
HeikoAnkenbrand
Champion Champion
Champion

Here you will find examples of route maps:

Route Maps - Examples 

You could use the following:

set routemap BGP-to-OSPF id <xxxx> match network 10.11.2.0/24 all

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
the_rock
Legend
Legend

What Heiko gave you is good example. If you need more help, message me offline, as my colleague and I worked with TAC over 3-4 months on ospf/bgp config for a large customer, so I have LOTS of examples : - )

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events