Route Map Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
switchxxxxxx(config-ip-al)# permit tcp any any 156.122.5.0 0.0.0.255 any
switchxxxxxx(config-ip-al)# exit
switchxxxxxx(config)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config-route-map)#
switchxxxxxx(config)#
switchxxxxxx(config-if)# ip policy route-map pbr
switchxxxxxx(config-if)#
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
next-hop
set ip 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
route-map pbr 10
match ip address
set ip next-hop 56.1.1.1
exit
route-map pbr 20
match ip address
set ip next-hop 50.1.1.1
exit
interface vlan 1
exit
access-list
pr-acl1
access-list
pr-acl2
53
1038