Specifications

Configuring Policy-Based Routing set next hop
8-52 Policy Classification Configuration
set next hop
UsethiscommandtosetoneormorenexthopIPaddressforpacketsmatchinganextendedaccess
listinaconfiguredroutemap.
Syntax
set next hop {next-hop1}[next-hop2....next-hop5]
no set next hop {next-hop1}[next-hop2....next-hop5]
Parameters
Defaults
None.
Mode
Routercommand,Policybasedroutingconfiguration:M atrix>Router(configroutemappbr)#
Usage
The“no”formofthiscommanddeletesnexthopIPaddress(es).
Example
ThisexampleshowshowtosetIPaddress10.2.3.4asthenexthopforpacketsmatchingACL1:
Matrix>Router(config)#route-map 101 permit 20
Matrix>Router(config-route-map-pbr)#match ip address 1
Matrix>Router(config-route-map-pbr)#set next-hop 10.2.3.4
show ip policy
Usethiscommandtodisplaythepolicyappliedtoaroutinginterface.
Syntax
show ip policy
Parameters
None.
Defaults
None.
Mode
Routercommand,Globalconfiguration:Matrix>Router(config)#
nexthop SpecifiesanexthopIPaddress(es).Uptofivecanbeconfigured.