
Configuring BGP Services
5-19
A steep penalty is applied to routes that are advertised with an ORIGIN attribute
other than IGP — that is, EGP or Incomplete.
For an OSPF internal route or a direct route, the Local Preference attribute is set to
local preference = (8191 + 256 – (metric & 255))
where metric is the OSPF metric for an OSPF route or the configured cost for a
direct route.
For a RIP route, an EGP route, an OSPF ASE route, or a static route, the local
preference attribute is set to
local preference = (256 – metric)
where metric is the RIP metric for a RIP route, the EGP metric for an EGP route,
the OSPF metric for an OSPF ASE route, or the configured cost for a static route.
Note that Local Preference values for OSPF internal routes and direct routes are
higher than the Local Preference values calculated for BGP routes.
Kommentare zu diesen Handbüchern