US Region
Grandmetric LLC
Brookfield Place Office
200 Vesey Street
New York, NY 10281
EIN: 98-1615498
+1 302 691 94 10
info@grandmetric.com
EMEA Region
GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com
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
Router(config-std-nacl)#permit 192.168.100.0 0.0.0.255
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 10.10.10.1
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