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 origin

Modifies the BGP origin code of a route.

set policy route route-map map-name rule rule-num set origin { igp | egp | incomplete }
delete policy route route-map map-name rule rule-num set origin [ igp | egp | incomplete ]
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.
egp
Sets the BGP origin code to egp (Exterior Gateway Protocol).
igp
Sets the BGP origin code to igp (Interior Gateway Protocol).
incomplete
Sets the BGP origin code to incomplete.

Configuration mode


policy {
    route-map map-name {
        rule rule-num {
            set {
                origin
                    igp
                    egp
                    incomplete
            }
        }
    }
}

Use the set form of this command to set the BGP origin code for packets that traverse a route map. When all the match conditions in the route map rule succeed, the BGP origin code 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.