route-precedence

Defines the order (precedence) in which unicast routes are selected from the unicast routing table (uRTM) for Reverse Path Forwarding resolution.

Syntax

route-precedence {none [ priority-1| priority-2 | priority-3 ] | uc-default [ priority-1| priority-2 | priority-3 ] | uc-non-default [ priority-1| priority-2 | priority-3 ] }
no route-precedence

Command Default

The default route precedence is uc-non-default followed by uc-default.

Parameters

none
Specifies that this type of route is to be ignored. You can specify this option for any multicast or unicast route type.
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).
priority-1| priority-2 | priority-3
Specifies the unique priority for the selected route.

Modes

Router PIM configuration mode

Usage Guidelines

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

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

Examples

The following example configures the route precedence for IPv4 PIM.

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

The following example configures the route precedence for IPv6 PIM.

device(config)# ipv6 router pim
device(config-ipv6-router-pim-vrf-default-vrf)# route-precedence none priority-3 uc-non-default
priority-2 uc-default priority-1