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> set weight <weight>

Modifies the BGP weight of a route.

set policy route route-map map-name rule rule-num set weight weight
delete policy route route-map map-name rule rule-num set weight
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.
weight
The BGP weight to be recorded in the routing table. The range is 0 to 65535.

Configuration mode


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

Use the set form of this command to set the BGP weight for routes. When all the match conditions in the route map rule succeed, the route weight 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.