The set routing route-map match origin command matches the route origin attribute of the route with route configured in the match clause.
The delete routing route-map match origin command restores the default behavior of not matching the route origin attribute of the route.
set routing route-map <route-map-name> order <NUMBER> match origin <egp|igp|incomplete>
delete routing route-map <route-map-name> order <NUMBER> match origin <egp|igp|incomplete>
Specifies the name of the route map. Required.
Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.
Specifies if the route origin attribute is matched with a match clause which originated as IGP, EGP, or has unknown origin. The unknown origin is typically redistributed from another routing protocol.
- Configure a match clause in the route map to match the origin:
admin@Xorplus# set routing route-map GlobalMap order 10 match origin egp admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit admin@Xorplus# commit