09-06-2014 09:46 PM - edited 03-04-2019 11:42 PM
Dear Expert,
Using BGP MED, Can i influence a single subnet?
We have multiple subnet which is advertising to our ISP,
168.165.89.X
168.165.56.X
168.165.122.X
We have in plan to configure metric to specific route 168.165.89.X which will traverse through our secondary link.
But when i am using prefix-list or access list in example below, it is denying all other route except 168.165.89.X.
ip prefix-list MED_Secondary permit 168.165.89.X
route-map MED_Sec permit
match ip address prefix-list MED_Secondary
set metric 1000
Any help would be greatly appreciated. thanks.
Solved! Go to Solution.
09-06-2014 10:03 PM
Hi,
route-map by default has implicit deny at last. I mean if you have applied route-map for route filtering/attribute manipulation on a bgp neighbor, all routes which are not being matched under sequence defined will be denied at last. Please add one more seq to permit all. A blank permit statement is permit all. same applicable for blank deny statement
route-map MED_Sec permit 10
match ip address prefix-list MED_Secondary
set metric 1000
route-map MED_Sec permit 20
-- Pls dont forget to rate helpful posts --
Regards,
Akash
09-06-2014 10:03 PM
Hi,
route-map by default has implicit deny at last. I mean if you have applied route-map for route filtering/attribute manipulation on a bgp neighbor, all routes which are not being matched under sequence defined will be denied at last. Please add one more seq to permit all. A blank permit statement is permit all. same applicable for blank deny statement
route-map MED_Sec permit 10
match ip address prefix-list MED_Secondary
set metric 1000
route-map MED_Sec permit 20
-- Pls dont forget to rate helpful posts --
Regards,
Akash
09-06-2014 11:16 PM
Thanks Akash.
Appreciate you for notifying my mistake, i have made changes and it works as expected.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide