08-22-2009 05:33 AM - edited 03-04-2019 05:48 AM
All,
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?
Thanks,
John
08-22-2009 05:42 AM
John
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.
Jon
08-22-2009 10:34 AM
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
Giuseppe
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: