cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
308
Views
0
Helpful
6
Replies

route-map question

dan_track
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

6 Replies 6

pkhatri
Level 11
Level 11

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

Hi Paresh,

If i use this route-map is it going to affect local preference.

Thanks in advance

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

ankurbhasin
Level 9
Level 9

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

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fiprrp_r/ind_r/1rfindp2.htm#wp1021099

HTH, if yes please rate the post.

Ankur

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

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

Getting Started

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: