route-precedence

Configures a table that defines the order (precedence) in which multicast routes are selected from the multicast routing table (mRTM) and unicast routing (uRTM) table.
Syntax
route-precedence { mc-default } { mc-non-default } { none } {uc-default } { uc-non-default }
no route-precedence
Command Default

The default route precedence used to select routes is:

  1. A non-default multicast route from the mRTM (mc-non-default).
  2. A default multicast route from the mRTM (mc-default).
  3. A non-default unicast route from the uRTM (uc-non-default).
  4. A default unicast route from the uRTM (uc-non-default).

Parameters
mc-non-default
Specifies the precedence for the non-default multicast route table (mRTM).
none
Specifies that this type of route is to be ignored. You can specify this option for any of the multicast or unicast route types.
mc-default
Specifies the precedence for the multicast routing table (mRTM).
uc-non-default
Specifies the precedence for the non-default unicast route table (uRTM).
uc-default
Specifies the precedence for the default unicast route table (uRTM).
Modes

Router PIM configuration mode

Usage Guidelines

The order in which you place the keywords determines the route precedence.

The no form of this command restores the default route precedence settings.

You must configure four parameters indicating the four different route types. If you want to specify that a particular route type is not used, configure the none keyword to fill the precedence table.

Examples

The following example configures a route precedence in which a non-default multicast route has the highest precedence, and a default unicast route has the lowest precedence. The order used to select routes is:

  1. A non-default multicast route from the mRTM.
  2. A non-default unicast route from the uRTM.
  3. A default multicast route from the mRTM.
  4. A default unicast route from the uRTM.

device(config)# router pim 
device(config-pim-router)# route-precedence mc-non-default uc-non-default mc-default uc-default

The following example configures a route precedence in which the unicast default route is ignored. The order used to select routes is:

  1. A non-default multicast route from the mRTM.
  2. A default multicast route from the mRTM.
  3. A non-default unicast route from the uRTM.

device(config)# router pim 
device(config-pim-router)# route-precedence mc-non-default mc-default uc-non-default none
History
Release version Command history
08.0.10a This command was introduced.