04-20-2006 01:05 AM - edited 03-03-2019 02:52 AM
Hi
Currently I have the following route-map on my router:
route-map se-to-isp permit 10
match ip address 1
set metric 8000
set local-preference 50
Could someone please explain what the above means and its possible affect on a route propogated via bgp.
Thanks in advance
Dan
Solved! Go to Solution.
04-20-2006 01:32 AM
Hi Dan,
The local preference attribute is used to prefer an exit point from the local autonomous system (AS). Unlike the weight attribute, the local preference attribute is propagated throughout the local AS. If there are multiple exit points from the AS, the local preference attribute is used to select the exit point for a specific route.
So it all depends on you and your network setup that what value you waan a assign as a local preference in route map for a particular route. Just remember higher local preference value is preferred over lower value and will be used as a deciding factor for a exit point for particular route.
Regards,
Ankur
04-20-2006 01:10 AM
Dan,
The route-map will do the following:
For all routes matched by the access-list number 1, it will:
- set the MED attribute to 8000
- set the LOCAL_PREF attribute to 50
A higher MED makes the route less preferable and so does a lower Local Preference value...
Hope that helps - pls do remember to rate posts that help.
Paresh
04-20-2006 03:23 AM
Hi Paresh,
If i use this route-map is it going to affect local preference.
Thanks in advance
04-20-2006 03:42 AM
Kamlesh,
It certainly will.. it will set it to 50 for all matching routes.
Hope that helps - pls do remember to rate posts that help.
Paresh
04-20-2006 01:11 AM
Hi Dan,
"set metric" command set the metric value for a routing protocol. The match and set route-map configuration commands are useed to define the conditions for redistributing routes from one routing protocol into another.
Have a look at this link
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/tirp_r/rtebght2.htm#wp1117503
"set local-preference" command is used to specify a preference value for the autonomous system path.
Have a look at this link
HTH, if yes please rate the post.
Ankur
04-20-2006 01:25 AM
Hi
Thanks for the reply. Could you please expand on the "set local-preference" as I don't understand what it means or its effect on the ASN.
Thanks
Dan
04-20-2006 01:32 AM
Hi Dan,
The local preference attribute is used to prefer an exit point from the local autonomous system (AS). Unlike the weight attribute, the local preference attribute is propagated throughout the local AS. If there are multiple exit points from the AS, the local preference attribute is used to select the exit point for a specific route.
So it all depends on you and your network setup that what value you waan a assign as a local preference in route map for a particular route. Just remember higher local preference value is preferred over lower value and will be used as a deciding factor for a exit point for particular route.
Regards,
Ankur
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: