match origin


match origin {igp | egp | incomplete} 

no match origin [igp | egp | incomplete]


Matches the route origin attribute of the route with route configured in the match clause.

The no form of this command restores the default behavior of not matching the route origin attribute of the route.

Command context



{igp | egp | 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.


Administrators or local user group members with execution rights for this command.


Configuring a match clause in the route map to match the origin:

switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# match origin igp