December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to use route maps for more detailed control over how RIP redistributes routing information from other sources.
Route maps give you much better control over how RIP redistributes external routes. This example uses static routes, but the same principles apply when redistributing routes from other protocols:
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)#2set tagRouter1(config-route-map)#2exitRouter1(config)#route-mapSTATICpermitRouter1(config-route-map)#20match ip addressRouter1(config-route-map)#21set metricRouter1(config-route-map)#8route-mapSTATICdenyRouter1(config-route-map)#30exitRouter1(config)#router ripRouter1(config-router)#redistribute static route-mapRouter1(config-router)#STATICexitRouter1(config)#endRouter1#
In this example, we want RIP to distinguish among the different routes. There are two parameters that we can change, the metric and the route tag. We have already discussed metrics, which basically ...
Read now
Unlock full access