中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

6.4.1.5 Route Tags and Redistribution of Routes into an RIP Routing Process

This task explains how to set route tags using a route map and redistribute tagged routes into an IPv6 RIP routing process.

Defining route maps and tagging routes for IPv6 is not much different from the same task in IPv4. The only difference is the fact that route maps match to IPv6 prefix lists.

Command syntax:
                               Router(config)# route-map map-tag [permit | deny] [sequence-number]
                               Router(config-route-map)# match ipv6 address prefix-list prefix-list-name
                               Router(config-route-map)# set tag value

Note: IPv6 RIP does not support route tags when the number of parallel routes is configured to be greater than one. Use the maximum-paths command to configure the number of parallel routes.

Note: IPv6 RIP does not support route tags when the number of parallel routes is configured to be greater than one. Use the maximum-paths command to configure the number of parallel routes.

                  Router(config-router)# redistribute protocol [process-id] \\
                  {level-1 | level-1-2 | level-2} [metric metric-value] \\
                  [metric-type {internal | external}] [route-map map-name]

The protocol argument can be one of the following keywords: bgp, connected, isis, rip, or static.

The rip keyword and process-id argument specify an IPv6 RIP routing process.

Note: The connected keyword refers to routes that are established automatically by assigning IPv6 addresses to an interface.

Examples

This example shows how a route map with the name bgp-to-rip is defined to match a previously defined IPv6 prefix list with the name bgp-to-rip-flt. This route map is then used to tag those routes with the tag “4” and to subsequently be used to redistribute them in an RIP routing process: