match origin

Syntax

match origin {igp | egp | incomplete} 

no match origin [igp | egp | incomplete]

Description

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

config-route-map

Parameters

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

Authority

Administrators

Example

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