RE: BGP Local Preference

From: Ryan West <rwest_at_zyedge.com>
Date: Wed, 10 Jun 2009 12:48:25 -0400

Modify your route-map to this:

!
route-map LOCAL permit 10
 match ip address prefix-list LP
 set local-preference 200
!
route-map LOCAL permit 1000
!

Unless, of course, you want the implied deny in your route-map.

-ryan

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Cisco Fanatic
Sent: Wednesday, June 10, 2009 12:36 PM
To: bbartik_at_ipexpert.com
Cc: ccielab_at_groupstudy.com
Subject: RE: BGP Local Preference

Ok, something like
!
router bgp 1
 neighbor 10.10.10.1 route-map LOCAL in
!
route-map LOCAL permit 10
 match ip address prefix-list LP
 set local-preference 200
!
ip prefix-list LP permit 172.168.10.1/24
!

Where the Local-Prefence will set only for 172 routes? Right?

> Date: Wed, 10 Jun 2009 09:47:18 -0600
> Subject: Re: BGP Local Preference
> From: bbartik_at_ipexpert.com
> To: ebay_products_at_hotmail.com
> CC: ccielab_at_groupstudy.com
>
> Yuri,
>
> You could use the prefix-list in a route-map, matching the list then
setting
> the preference.
>
> On Wed, Jun 10, 2009 at 9:24 AM, Cisco Fanatic
<ebay_products_at_hotmail.com>wrote:
>
> > All,
> >
> >
> >
> > How can you change LP via using Prefix-List? I know of 2 methods to
change
> > Local Preference. I don't have access to my home routers .. Is there a
way
> > to
> > change it via using Prefix-List?
> >
> >
> > - bgp default local-preference
> > - or, route-map (set local-preference x)
> >
> > -Yuri
> > _________________________________________________________________
> > Windows Live SkyDrive : Get 25 GB of free online storage.
> > http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Bryan Bartik
> CCIE #23707 (R&S), CCNP
> Sr. Support Engineer - IPexpert, Inc.
> URL: http://www.IPexpert.com
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
Received on Wed Jun 10 2009 - 12:48:25 ART

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART