December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want RIP to include a tag when it distributes specific routes to prevent routing loops when redistributing between routing protocols.
RIP Version 2 allows you to tag external routes. For a static route, for example, the configuration looks like this:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip routeRouter1(config)#0.0.0.0 0.0.0.0 172.25.1.1access-list7permitRouter1(config)#0.0.0.0route-mapTAGGINGpermitRouter1(config-route-map)#10match ip addressRouter1(config-route-map)#7set tagRouter1(config-route-map)#5exitRouter1(config)#router ripRouter1(config-router)#redistribute static route-mapRouter1(config-router)#TAGGINGexitRouter1(config)#endRouter1#
You can only apply a route tag to external routes; that is, routes that are not learned from RIP. The example shows a static route, but you can apply a tag to routes learned from other routing protocols in exactly the same way. For example, the following code shows how to apply a tag to certain routes learned via EIGRP:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#access-list7permitRouter1(config)#192.168.1.0route-mapTAGGINGpermitRouter1(config-route-map)#10match ip addressRouter1(config-route-map)#7set tagRouter1(config-route-map)#5exitRouter1(config)#router eigrpRouter1(config-router)#65530networkRouter1(config-router)#192.168.1.0exitRouter1(config)# ...
Read now
Unlock full access