route-precedence
route-precedence
{
mc-default
}
{
mc-non-default
}
{
none
}
{uc-default
}
{
uc-non-default
}no route-precedenceRouter PIM configuration mode
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.
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:
- A non-default multicast route from the mRTM.
- A non-default unicast route from the uRTM.
- A default multicast route from the mRTM.
- 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:
- A non-default multicast route from the mRTM.
- A default multicast route from the mRTM.
- 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
| Release version | Command history |
|---|---|
| 08.0.10a | This command was introduced. |