Policy-Based Routing Commands
XSR CLI Reference Guide 5-147
match ip address
ThiscommandassociatesthePBRpolicywithaconfiguredAccessControlList(ACL).
Syntax
match ip address access-number
Syntax of the “no” Form
ThenocommanddeletesthespecifiedACLmatch clause:
no match ip address access-number
Mode
PBRMapconfiguration:XSR(config-pbr-map)#
Example
Inthefollowingexample,ACL101isusedtomatchthetraffic:
XSR(config-pbr-map)#match ip address 101
set ip next-hop
Thiscommandspecifiesanext‐hopIPaddressastheforwardingrouterforPolicyBasedRouting.
Syntax
set ip next-hop ip-address
Syntax of the “no” Form
Thenocommanddeletesthespecifiedsetclau se:
no set ip next-hope ip-address
Mode
PBRMapconfiguration:XSR(config-pbr-map)#
Example
Inthefollowingexample,192.168.27.1issetasthenext‐hoprouter:
XSR(config-pbr-map)#set ip next-hop 192.168.27.1
access-number
TheACLnumberusedtomatchtraffic.
ipaddress
IPaddressofthenexthop.