policy route route-map <map-name> rule <rule-num> set origin
Modifies the BGP origin code of a route.
- 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.