cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
5
Helpful
2
Replies

BGP prefered route based on ip address

Bab L
Level 1
Level 1

Hi.

What is the best way to configure BGP to route in a different path thatn the default for one specific ip address rnage.

E.g. If R1 uses R2 for routing to all subnets based on weight. We want to keep this as is, but for one specific subnet we want to go via R3. From what I read in https://supportforums.cisco.com/document/126691/understanding-bgp-best-path-selection-manipulation  this is done by manipulation MEDs. But it also states that all 6 default Best Path Selection Algorithm have to be performed prior to the MED rule. So, how do we avoid going through the 6 paths algorithms and configuring a path for a specific subnet thorugh the other route?

Thank you

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

Hey instead of using MED you can use Local Pref and match it against a route map for that specific subnet so that its less preffered on one link , that way its only going to the 2 choice in the path selection rather than 6 to MED

View solution in original post

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

Hey instead of using MED you can use Local Pref and match it against a route map for that specific subnet so that its less preffered on one link , that way its only going to the 2 choice in the path selection rather than 6 to MED

Thanks Mark.

Will use route maps.