04-21-2006 01:31 PM - edited 03-03-2019 12:28 PM
I want to set a local pref to 90 in one of my links. If I just want to match everything do I really need a match clause?
Will this work?
router bgp 65000
neighbor 10.10.10.10 remote-as 65001
neighbor 10.10.10.10 route-map SET-LOCAL-PREF in
route-map SET-LOCAL-PREF permit 10
set local-preference 90
Thanks,
Patrick
04-21-2006 01:38 PM
That will work fine
Rgds
E.
04-21-2006 01:41 PM
Hello,
this will work, because a route-map statement without match condition will match everything.
Hope this helps! Please rate all posts.
Regards, Martin
04-21-2006 01:42 PM
Hello Patrick,
Your config will work.
If you want to match everything, you don't need to use the "match" statement, just use the "set" statement.
You will need to use the "match" only if you want to select something.
Fabricio
Network Analyst
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: