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
ThenocommanddeletesthespecifiedACLmatchclause:
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

ThiscommandspecifiesanexthopIPaddressastheforwardingrouterforPolicyBasedRouting.
Syntax
set ip next-hop ip-address
Syntax of the “no” Form
Thenocommanddeletesthespecifiedsetclause:
no set ip next-hope ip-address
Mode
PBRMapconfiguration:XSR(config-pbr-map)#
Example
Inthefollowingexample,192.168.27.1issetasthenexthoprouter:
XSR(config-pbr-map)#set ip next-hop 192.168.27.1
access-number TheACLnumberusedtomatchtraffic.
ipaddress IPaddressofthenexthop.