Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Static route tag

You can assign and use tags on static routes.

The static route tag feature supports the following capabilities:

  • Assigning a tag to a static route
  • Filtering and redistributing of static routes from the current routing protocol into other protocols

You can attach a tag to a route in the configuration at static route/route6/interface-route/interface-route6 configuration. The filtering and redistribution of static routes into other routing protocols are based on the tag.

Functional description

The routing protocols that are able to redistribute static routes based on a tag are OSPFv2, OSPFv3, RIP, RIPng, and BGP.
Note: PBR routes (set protocols static table <n> ...) are not supported for static route tagging because PBR routes are not redistributed to protocols.

The tag is distributed along with the route to the IGP peers. (This does not apply to BGP because it does not include a tag in its updates). The tag is visible in the peer RIB, where it can be utilized for downstream redistribution.

The route-map parameter can match on the tag value for the purpose of distributing static routes to dynamic routing protocols, as described in this addendum.

In addition to matching on a specific tag, you can change a tag's value redistribution by using set policy route route-map <name> rule <num> set tag <new-tag-value>. This addendum includes an example of this action.