Vyatta NOS documentation

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

policy route route-map <map-name> rule <rule-num> set metric <metric>

Modifies the metric of a route.

set policy route route-map map-name rule rule-num set metric metric
delete policy route route-map map-name rule rule-num set metric
show policy route route-map map-name rule rule-num set
map-name
The name of a defined route map.
rule-num
The number of a defined route map rule.
metric
A number representing the new metric to be used in the route.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            set {
                metric metric 
            }
        }
    }
}

Use the set form of this command to modify the route metric for packets that traverse a route map. When all the match conditions in the route map rule succeed, the route metric is modified as specified.

Use the delete form of this command to delete this statement from the route map rule.

Use the show form of this command to display set statement configuration for route maps.