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 as-path-prepend <prepend>

Sets or prepends to the AS path of the route.

set policy route route-map map-name rule rule-num set as-path-prepend prepend
delete policy route route-map map-name rule rule-num set as-path-prepend
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.
prepend
A string representing an AS path.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            set {
                as-path-prepend prepend
            }
        }
    }
}

Use the set form of this command to prepend a string to the AS path list in a route. When all the match conditions in the route map rule succeed, the specified string is prepended to the AS path in the route.

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.