set routing route-map match origin


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.

Command Syntax

set routing route-map <route-map-nameorder <NUMBERmatch origin <egp|igp|incomplete>

delete routing route-map <route-map-name> order <NUMBER> match origin <egp|igp|incomplete>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

 order <NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

origin <egp|igp|incomplete>

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.


Example

  •  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

Copyright © 2024 Pica8 Inc. All Rights Reserved.