Route Map Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1038
53
switchxxxxxx(config-ip-al)# permit tcp any any 156.122.5.0 0.0.0.255 any
switchxxxxxx(config-ip-al)# exit
switchxxxxxx(config)#
route-map pbr 10
switchxxxxxx(config-route-map)#
match ip address
access-list
pr-acl1
switchxxxxxx(config-route-map)#
set ip next-hop 56.1.1.1
switchxxxxxx(config-route-map)#
exit
switchxxxxxx(config)#
route-map pbr 20
switchxxxxxx(config-route-map)#
match ip address
access-list
pr-acl2
switchxxxxxx(config-route-map)#
set ip next-hop 50.1.1.1
switchxxxxxx(config-route-map)#
exit
switchxxxxxx(config)#
interface vlan
1
switchxxxxxx(config-if)# ip policy route-map pbr
switchxxxxxx(config-if)#
exit
53.4 set ip next-hop
To specify the IP address of the next hop policy routing, use the set ip next-hop
command in Route Map Configuration Mode. To delete an entry, use the no form of
this command.
Syntax
set ip next-hop
next-hop
no set ip next-hop
Parameters
•
next-hop
—IPv4 address of the next hop router.
Default Configuration
This command is disabled by default.
Command Mode
Route Map Configuration Mode