ip policy priority (S-, K-Series)

Use this command to prioritize priority-based routing next hop behavior.

Syntax

ip policy priority {[only | first | last]}
no ip policy priority

Parameters

only Prioritizes use of the priority-based routing by using the priority-based routing next hop, but if it is unavailable, drops the packet.
first Prioritizes use of the priority-based routing by using the priority-based routing next hop, but if it is unavailable, the route table is used.
last Prioritizes use of the priority-based routing by using the route table if the route exists, but if it is unavailable, the priority-based routing next hop is used.

Defaults

None.

Mode

Interface configuration.

Usage

This command prioritizes use of the priority-based routing configured policy — as opposed to doing a lookup in the FIB (Forward Information Base) route table for a next hop.

The “no” form of this command resets the priority configuration back to the default of first.

Example

This example shows how to set the IP policy priority on VLAN 1 to “last”:

System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip policy priority last