US Region

Grandmetric LLC
Brookfield Place Office
200 Vesey Street
New York, NY 10281
EIN: 98-1615498
Phone: +1 302 691 94 10

EMEA Region

ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43

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