
Security Configuration Command Set
Configuring Policy-Based Routing
14-180
Matrix DFE-Platinum and Diamond Series Configuration Guide
14.3.13.7 ip policy priority
Use this command to prioritize PBR next hop behavior
.
ip policy priority
{[
only
] [
first
] [
last
]}
Syntax Description
Command Syntax of the “no” Form
The “no” form of this
command resets the PBR priority configuration back to the
default of
first:
no ip policy
priority
Command Type
Router command.
Command Mode
Interface configuration:
Matrix>Router1(config-if(Vlan <vlan_id>))#
Command Defaults
None.
Example
This example shows how to set the IP policy priority on VLAN 1 to “last”:
only
|
first
|
last
Prioritizes use of the PBR configured policy — as opposed
to doing a lookup in the FIB (Forward Information Base)
route table for a next hop — as follows:
•
only
- uses the PBR next hop, but if it is unavailable,
drops the packet.
•
first
(default) - uses the PBR next hop, but if
unavailable, falls back to the FIB.
•
last
- uses the FIB, but if no route is found, then uses the
PBR next hop.
Matrix>Router1(config)#
interface vlan 1
Matrix>Router1(config-if(Vlan 1))#
ip policy priority last