Specifications

Configuring Policy-Based Routing ip policy priority
8-54 Policy Classification Configuration
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(configif(Vlan<vlan_id>))#
Usage
The“no”formofunassignsaroutemaplist.
Example
Thisexampleshowshowtoassignroutemap101toVLAN1:
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip policy route-map 101
ip policy priority
UsethiscommandtoprioritizePBRnexthopbehavior.
Syntax
ip policy priority {[only] [first] [last]}
no ip policy priority
Parameters
Defaults
None.
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(configif(Vlan<vlan_id>))#
Usage
The“no”formofthiscommandresetsthePBRpriorityconfigurationbacktothedefaultoffirst.
Example
ThisexampleshowshowtosettheIPpolicypriorityonVLAN1to“last”:
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip policy priority last
only|first|last PrioritizesuseofthePBRconfiguredpolicyasopposedtodoinga
lookupintheFIB(ForwardInformationBase)routetableforanexthop
asfollows:
only‐usesthePBRnexthop,butifitisunavailable,dropsthe
packet.
first(default)‐uses
thePBRnexthop,butifunavailable,fallsback
totheFIB.
last‐uses theFIB,butifnorouteisfound,thenusesthePBRnext
hop.