Route Map configuration for traffic routing

Design & Configure

Route Map configuration for traffic routing

Technology: Routing
Title: Route Map
Vendor: Cisco
Software: 12.X , 15.X
Platform: ISR, ASR

The primary usage of route map configuration is to steer the traffic independent from the routing table. Route map uses match and set statements that help define the source and then destination for traffic.

Traffic is matched with ACL:

Router(config)#ip access-list standard MATCH_ACL

Then ACL is used in route map statement:
Router(config)#route-map 192_REDIRECT permit 10
Router(config-route-map)#match ip address MATCH_ACL

As a result next hop and IP is chosen
Router(config-route-map)#set ip default next-hop
Router(config-route-map)#set default interface FastEthernet 0/1
Router(config)#route-map 192_REDIRECT permit 20

Apply the route map on interface which you want to take the traffic from
Router(config-if)#ip policy route-map 192_REDIRECT

Author: Marcin Bialy