|
Cisco Config Cookbook
IP Route Mapping
1. Match the traffic with an access list:
ip access-list extended ALsample
permit ip 10.0.0.0 0.0.0.255 0.0.0.0 255.255.255.255
2. set the route map
route-map RMsample permit 10
match ip address ALsample
set ip next-hop 192.168.0.1
!
3. in the interface config, apple the route map
ip policy route-map RMsample
|