DGS-6604
m
set ip next-hop
CLI Reference Guide
554
You can verify your settings by entering the
show route-map
privileged EXEC
command.
Switch(config)# ip access-list Strict-Control
Switch(config-ip-acl)# permit 10.1.1.0 255.255.255.0 any
Switch(config-ip-acl)# exit
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match ip address Strict-Control
Switch(config-route-map)# set ip next-hop 120.1.2.2
Switch(config-route-map)# exit
Switch(config)# interface vlan100
Switch(config-router)# ip policy route-map myPolicy