The set routing route-map action origin command modifies the origin attribute of the route entry with the value configured in the set clause.
The delete routing route-map action origin command restores the default behavior of not modifying the origin attribute of the route entry.
Command Syntax
set routing route-map <route-map-name> <NUMBER> action origin <egp|igp|incomplete>
delete routing route-map <route-map-name> <NUMBER> action origin <egp|igp|incomplete>
Parameter
Parameter | Description |
route-map <route-map-name> | Specifies the name of the route map. Required. |
<NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. |
origin <egp|igp|incomplete> | Selects the route update originated to IGP, EGP, or incomplete. When incomplete is selected, the route update origin is set to unknown. |
Example
- Configure a action clause in the route map to modify the origin value of the route:
admin@Xorplus# set routing route-map GlobalMap 10 action origin egp admin@Xorplus# commit