Route Redistribution Metrics

From CCIE Study Wiki

Jump to: navigation, search


The Cisco IOS provides several methods for setting the metric of a redistributed route

Theory

Contents

There are three methods for setting the metric of a route the is being redistributed. All methods are not equal; if multiple methods are used to set the metric for the same route there is an order of preference to the methods that will decide what the final metric will be.

The metric-setting method most preferred by the IOS is to set the metric by matching it in a route map and using the set metric command in that route map. A big advantage to using route maps is that different routes can be assigned different metric values.

The second-most preferred option is to use the metric option when using the redistribute command. All routes imported by the redistribution command will have the same metric value using this method.

The least preferred option is to use the default-metric router command. This will only be used to set a metric when neither of the first two methods have been used for a route.


When redistributing routes into OSPF, you also can set the metric type, as an external OSPF route can either be an external type one (E1) route or an external type two (E2) route.

Commands

  • default-metric number (router) - Sets the default metric values for incoming OSPF, RIP, and BGP routes.
  • default-metric bandwidth delay reliability loading mtu (router) - Sets the default metric values for incoming EIGRP routes.

Default Settings

  • There are no default metric values for routes coming into EIGRP or RIP domains. Routes coming into OSPF domains have a default cost of 20 when redistributing from an IGP, or a cost of 1 when redistributing from BGP.

Verification

  • Nothing listed yet

Troubleshooting, Tips, and Tricks

  • Nothing listed yet

Online Resources






Have something to contribute? See a mistake on this page? Have a hint or a link to share?
The CCIE Study Wiki is open to everyone to edit! All you need to do is to create an account to start contributing.
Please be sure to follow our posting guidelines when editing the wiki.

Maybe you have just have some thoughts or suggestions for this entry?
Use the Discussion link on the top or bottom menu to create or join the CCIE forum post on this topic.
You can also go straight to the CCIE Forums and start a new discussion in the forum of your choice.

If you'd rather just contact us with your thoughts, we'd love to hear what you have to say.

This page was last modified on 26 August 2009, at 16:22. This page has been accessed 217 times.