Poland
GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com
Sweden
Drottninggatan 86
111 36 Stockholm
+46 762 041 514
info@grandmetric.com
UK
Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com
US Region
Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10
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