protocol bgp group/neighbor local-preference

From: Richard A Steenbergen (ras@e-gerbil.net)
Date: Thu Jul 04 2002 - 23:29:00 EDT


Ok so, I see there is this lovely command to set local-preference at the
protocol bgp group/neighbor level, but it doesn't seem to work on routes
learned from eBGP peers, they all get the default local-pref of 100 no
matter what the setting.

I've been flipping through the docs trying to figure out if this is
intentional or not, but I can't find anything indicating that it would not
work on inbound eBGP routes. For example:

Options
local-preference
—Preference to assign to routes learned from BGP or fromthe group or peer.
Range: 0 through 4,294,967,295 (232 -1)
Default: If the LOCAL_PREF path attribute is present, do not modify its
value. If a BGP route is received without a LOCAL_PREF attribute, the
route is handled locally (it is stored in the routing table and advertised
by BGP) as if it were received with a LOCAL_PREF value of 100. A non-BGP
route that is advertised by BGP is advertised with a LOCAL_PREF value of
100 by default.

All of which seems to indicate that it sets the value on eBGP learned
routes. Is there something I'm missing here? I like the control of policy
statements and all, but needing one for every neighbor that wants a
different default local-pref is just annoying.

-- 
Richard A Steenbergen <ras@e-gerbil.net>       http://www.e-gerbil.net/ras
PGP Key ID: 0x138EA177  (67 29 D7 BC E8 18 3E DA  B2 46 B3 D8 14 36 FE B6)



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:36 EDT