Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Route tagging


Am I correct in my assumption that route tagging is primarily used in redistributing scenarios, and the tags are usually set on the router that's doing the redistributing?



HTH, John *** Please rate all useful posts ***
Hall of Fame Super Blue

Re: Route tagging


Yes is the short answer.

Edit - of course the router that tags the packets may not be the one that then matches the tag and applies a policy/filter based on these tags.


Hall of Fame Super Silver

Re: Route tagging

Hello John,

route tags are very useful when you have multiple ASBR routers performing mutual redistribution between two routing protocols/domains.

This is to avoid unwanted feedback of routes learned from protocol A at ASBR1, (injected by ASBR1 in protocol B) to be reinjected in protocol A at ASBR2 from protocol B.

So as Jon has noted the router that sets the route tags does this to help other devices to do the right decisions in redistribution scenarios.

To be noted that working with route redistributions some combinations of protocols allow to propagate a route tag from protocol A into protocol B other don't do this.

To be more specific RIPv2 supports route tags but its route tag field is 16 bit wide. OSPF and EIGRP have 32 bits route tags.

In another thread some mounths ago this issue was discussed because the OP noted that it was not possible to pass a route tag from OSPF or EIGRP to RIP but it needed to be manually set in the route map used to decide what to redistribute into RIP.

Also to be noted that like BGP communities route tags are a form of dynamic filtering that is they can adapt to a change in the network:

if a new subnet is advertised by protocol A it can be redistributed into protocol B with the appropriate route tag with no change to configuration (unless needed to allow it).

Hope to help