RE: Local Preference

From: libone mhlanga (libone@lycos.com)
Date: Thu Mar 19 2009 - 07:44:08 ART


"It's something either set INBOUND from eBGP peers, or OUTBOUND to iBGP
peers. "

Halabi's quote is below:-

LOCAL_PREF ( type code 5 )is a well-known discretionary and
non-transitive attribute - used by a BGP speaker to inform other BGP
speakers in its own AS of the originating speaker's degree of preference
for an advertised route.

So I am not sure how you would set it "OUTBOUND to iBGP peers" ? ie my
understanding is that you just set it on received routes from your eBGP
peers and every one of your iBGP peers will accept the value set...end of
! There is no suggestion that you can selectively filter who gets that
value amongst your iBGP peers...its an AS-wide accepted value once set
otherwise it would be very messy me thinks :)

---------[ Received Mail Content ]----------

Subject : RE: Local Preference

Date : Wed, 18 Mar 2009 22:20:42 -0400

From : "Scott Morris" <smorris@internetworkexpert.com>

To : "'Andres Alejandro'" <andres_ccie@hotmail.com>,
<ccielab@groupstudy.com>

It is NOT a transitive attribute on eBGP peers. So you could set it all
you

want, but it won't do anything towards the outside of your AS!

It's something either set INBOUND from eBGP peers, or OUTBOUND to iBGP

peers. (which one may wonder why you don't change local pref for your own

router, but want to on other routers in your ASN, but stranger things
have

happened!)

;)

HTH,

Scott Morris, CCIE4 #4713, JNCIE-M #153, JNCIS-ER, CISSP, et al.

JNCI-M/JNCI-ER

Senior CCIE Instructor

smorris@internetworkexpert.com

Internetwork Expert, Inc.

http://www.InternetworkExpert.com

Toll Free: 877-224-8987

Outside US: 775-826-4344

Knowledge is power.

Power corrupts.

Study hard and be Eeeeviiiil......

-----Original Message-----

From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of

Andres Alejandro

Sent: Wednesday, March 18, 2009 3:15 PM

To: ccielab@groupstudy.com

Subject: Local Preference

Hi group,

I have a little doubt, can I apply the local preference inside/outside?
or

only inside?.

Sample:

1)

route-map LP

mat community xx

set local preference XX

router bgp XX

neig x.x.x.x route-map LP in

2)

route-map LP

mat community xx

set local preference XX

router bgp XX

neig x.x.x.x route-map LP out

Please, let me know the opinion.

Thanks



This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:05 ART