From: Scott Morris (smorris@internetworkexpert.com)
Date: Thu Mar 19 2009 - 12:11:51 ART
Correct. An outbound route-map can set it to your internal peers. While
an "odd" method to do things, it's possible. And perhaps worthy of noting
since I'm sure some proctors are aware of how to make sure your AS shows a
local pref and yet you aren't allowed to use an inbound route-map. ;)
Scott
From: Ruhann [mailto:groupstudy@ru.co.za]
Sent: Thursday, March 19, 2009 7:14 AM
To: libone mhlanga
Cc: Scott Morris; Andres Alejandro; ccielab@groupstudy.com
Subject: Re: Local Preference
You would do it with a route-map :D
But regarding official documentation, as per most dodgy's, they not
documented, no need to, and probably good reason not too.
But that does not mean it cant be used to do funky things :)
On Thu, Mar 19, 2009 at 12:44 PM, libone mhlanga <libone@lycos.com> wrote:
"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 <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
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:06 ART