Specifications

Configuring Policy-Based Routing route-map
8-50 Policy Classification Configuration
Parameters
Defaults
None.
Mode
Routercommand,Globalconfiguration:Matrix>Router(config)#
Example
Thisexampleshowshowtodisplayroutemaplist101.Inthiscase,thepacketsourceIPaddresses
matchingACLlists2,3,4,8,or110willbeforwardedtonexthop10.2.1.1,10.2.2.1or10.2.3.1.The
routemaplistwascreatedusingtheroutemapcommand(“routemaponpage 850).
Thepacket
sourceIPaddresswasthenmatchedtoanACLusingthematchipaddresscommand(“matchip
addressonpage 851),andthepacket’snexthopsweredefinedusingthesetnexthopcommand
(“setnexthoponpage 852):
Matrix>Router#show route map 101
route-map 101, permit, sequence 1
Match clauses:
ip address 2 3 4 8 110
Set clauses:
next-hop 10.2.1.1 10.2.2.1 10.2.3.1
Policy matches: 0 packets
route-map
Usethiscommandtocreatearoutemapforpolicybasedroutingandtoenablepolicybased
routingconfigurationmode.
Syntax
route-map id-number [permit | deny] [sequence-number]
no route-map id-number
Parameters
idnumber SpecifiestheIDnumberforwhichtodisplayaconfiguredPBRroute
maplist.ValidvaluesforPBRare100‐199.
idnumber SpecifiesaroutemaplistIDnumbertowhichthisroutemapwillbe
added.IfanunusedIDnumberisspecified,anewroutemaplistwillbe
created.Validvaluesareforpolicybasedroutingare:100199.
permit (Optional)Permitsthepackettobypassroute
lookupandbeforwarded
tothenexthopconfiguredinthematchingroutemap.
deny (Optional)Deniespolicybasedrouting,forcingthepackettocontinue
onitsnormalroutingpath.
sequencenumber (Optional)Specifiestheorderofthismapintheroutemaplist,andthe
orderinwhichthisroutemapwill
becheckedformatchingaccesslist
criteria.Thepacketcheckwillexitwiththefirstmapinthelistwhich
matchesthepacketdata.