""Cisco Nuts"" wrote in message news:[EMAIL PROTECTED] > Hello, > I have 2 routers in AS300 > RTF is connected to RTA in AS 1239 & > RTG is connected to RTH in AS 701 > In AS300 I have set communities via a route-map to be advertised as follows: > 1239:110 to AS 1239 & > 701:120 to AS 701 > > Routers in AS 1239 and AS 701 have been configured with a community list and > a route-map to match these communities and change the local pref to 110 and > 120 respectively. > > These work fine: > Ex.AS701-H#bt > Network Next Hop Metric LocPrf Weight Path > *> 3.3.3.0/24 190.90.10.1 120 0 300 i > > Ex. AS1239-A#bt > Network Next Hop Metric LocPrf Weight Path > *> 3.3.3.0/24 180.80.10.1 0 110 0 300 i > > > > AS1239 and AS701 are connected to RTE AS7018-NAP > > From AS7018, I wanted to route to be preferred through AS701 which has a > higher local pref of 120 > BUT AS7018 still prefers the route thru AS1239 which has a local pref. > And I do not see the local pref values in AS7018. Why?? > > Ex. AS7018-NAP#bt > Network Next Hop Metric LocPrf Weight Path > * 3.3.3.0/24 170.70.10.2 0 701 300 i > *> 160.60.10.2 0 1239 300 i > > 160.60.10.2 is AS1239 > Now I do understand that all things being equal, BGP will prefer the router > with the lowest RID, which in this case is AS1239, 160.60.100.100. Thus > AS7018 chooses this route. > > BUT I want AS7018 to choose AS701 to get to AS300's networks!!! > > Question: Should AS7018 on receiving the communites from AS1239 and AS701 > set the desired local pref?? > Why not?? > What am I missing? > Please advise.
My read on it ( after checking Halabi's and Stewart's books ) is that LOCAL_PREF is typically set on the inbound side, not with the outbound side. LOCAL_PREF is an optional attribute. You don't want others to be able to impose their criteria on you. also - are you remembering to use the bgp send-communities switch? > > Thank you. > Sincerely, > CN > > > > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=65998&t=65998 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]