December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You require greater control over the routes that are redistributed and their associated metrics and route tags.
You can use route maps to do more sophisticated redistribution of routes into EIGRP:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip routeRouter1(config)#192.168.10.0 255.255.255.0 172.22.1.4ip routeRouter1(config)#192.168.11.0 255.255.255.0 172.22.1.4ip routeRouter1(config)#192.168.12.0 255.255.255.0 172.22.1.4access-list20permitRouter1(config)#192.168.10.0access-list21permitRouter1(config)#192.168.11.0route-mapSTATICpermitRouter1(config-route-map)#10match ip addressRouter1(config-route-map)#20set metricRouter1(config-route-map)#56 100 255 1 1500set tagRouter1(config-route-map)#2exitRouter1(config)#route-mapSTATICpermitRouter1(config-route-map)#20match ip addressRouter1(config-route-map)#21set metricRouter1(config-route-map)#128 200 255 1 1500exitRouter1(config)#route-mapSTATICdenyRouter1(config-route-map)#30exitRouter1(config)#router eigrpRouter1(config-router)#55redistribute static route-mapRouter1(config-router)#STATICexitRouter1(config)#endRouter1#
This recipe is extremely similar to Recipe 6.4 in the RIP chapter of this book. And just as in that example, we use route maps to set not only metrics, but also route tags for redistributed static routes. Please refer to Recipe 6.4 for a detailed ...