route-precedence admin-distance

Configures route precedence so that multicast routes are selected from the best route in the multicast routing table (mRTM) and unicast routing (uRTM) table.
Syntax
route-precedence admin-distance
no route-precedence admin-distance
Command Default

Multicast routes are not selected from the best route in the mRTM and uRTM. Routes are selected based on:

  • The route precedence configured using the route-precedence command.
  • The system route precedence default (if route precedence has not been configured using the route-precedence command.
the default route precedence settings.

Modes

PIM configuration mode

Usage Guidelines

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

If the mRTM and the uRTM have routes of equal cost, the route from the mRTM is preferred.

Examples

The following example configures route precedence so that the best multicast route from the mRTM and uRTM tables is selected.

Device(config)# router pim
Device(config-pim-router)# route-precedence admin-distance 
History
Release version Command history
08.0.10a This command was introduced.