Enterasys Networks XSR CLI Router User Manual


 
Policy-Based Routing Commands
5-146 Configuring the Internet Protocol
Examples
ThefollowingexampleenablesPBRoninterface FastEthernet2:
XSR(config-if<F2>)#ip policy
ThefollowingexampleenablesPBRoninterface Dialer57:
XSR(config-if<D57>)#ip policy
route-map pbr
ThiscommandaddsordeletesPBRroutemapentriesandacquiresPBRMapconfigurationmode.
ThefollowingcommandsaresubsetsofRouteMapPBRfunctionality:
match ip address -Adds/deletesPBRmatchclauses.Seepage5147forcommand
definition.
set ip next-hop‐AddsordeletesPBRsetclausesforthenexthoprouter.Seepage5147for
commanddefintion.
set interface‐AddsordeletesPBRsetclausesonaninterface.Seepage5148forcommand
defintion
Syntax
route-map pbr sequence-number
Syntax of the “no” Form
Thenocommanddeletesthespecifiedpolicyentryorthewholepolicytableifnosequence
numberisspecified:
no route-map pbr [sequence-number]
Mode
Globalconfiguration:XSR(config)#
Next Mode
PBRMapconfiguration:XSR(config-pbr-map)#
Example
Inthefollowingexample,policyentrynumber10iscreated:
XSR(config)#route-map pbr 10
XSR(config-pbr-map)#
sequence-number
SequentialnumberofthepolicyentryinthePBRroutemaptable.