home

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.

policy route route-map <map-name> rule <rule-num> match tag <tag>

Defines a match condition for a route map based on OSPF tag.

set policy route route-map map-name rule rule-num match tag tag
delete policy route route-map map-name rule rule-num match tag
show policy route route-map map-name rule rule-num match tag

If no tag match condition is specified, packets are not filtered by tag.

map-name
The name of a defined route map.
rule-num
The number of a defined route map rule.
tag
A 32-bit value representing an OSPF tag. This value is matched against the contents of the OSPF external Link-State Advertisement (LSA) 32-bit tag field in the route.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            match {
                tag tag
            }
        }
    }
}

Use the set form of this command to define an exit policy for a route map entry, by specifying the route map rule to be executed when a match occurs. When all the match conditions specified by the route map rule succeed, the route map rule specified by this command is invoked and executed.

Normally, when a route map is matched, the route map is exited and the route is permitted. This command allows you to specify an alternative exit policy, by directing execution to a specified route map rule or to the next rule in the sequence.

Use the delete form of this command to remove the exit policy.

Use the show form of this command to display route map exit policy configuration.