
IP Concepts, Terminology, and Features
117356-A Rev. A 1-13
Route Weights
Route-weight calculation is an internal tool that IP uses to facilitate selection of
the best route among alternative routes to the same destination. Route-selection
criteria are encoded into the route weight in a way that allows IP to compare
routes simply by comparing their weight values, regardless of route sources.
A
ppendix D contains a worksheet that you can you use to calculate route weights
in your configuration.
Route-weight calculation increases the efficiency of the route-selection process
and at the same time reduces the size of the routing database, since all route
selection parameters for each route are encoded in a single integer -- the weight
value -- rather than stored in separate variables.
Using selection criteria encoded in the route weight, IP chooses routes in the
following order:
• The route with the highest preference value (see “Route Preferences” on
page 1-12)
• A direct or OSPF intra-area route with the lowest metric
• A direct route with the lowest metric
• An OSPF intra-area route with the lowest metric
• An OSPF interarea route with the lowest metric
• An OSPF Type 1 external route with the lowest metric
• A BGP route with the highest LOCAL_PREF value
• A RIP route with the lowest metric
• An EGP route with the lowest metric
• A static route with the lowest metric
• An OSPF Type 2 external route with a metric type earlier than Router
Software Version 8.00.
Note: If OSPF is configured to propagate external routes using the route
weight as the Type 2 metric, routes that are received as OSPF ASE Type 2
routes are evaluated according to their respective origins (for example, RIP or
BGP).
Comentarios a estos manuales