Hi! The local preference attribute used only in the AS it was set. The NAP could set the local pref for you or you should use other method like MED (always compare med needed at the NAP in this case) or AS-path prepending to influence the incoming path. It's up to them whether they accept your preferred route or not.
On 22 Mar 2003 at 16:26, Cisco Nuts wrote: > 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. Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=65995&t=65995 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]