set origin

Syntax

set origin [igp | egp | incomplete]

no set origin [igp | egp | incomplete]

Description

Modifies the route origin attribute of the route update with the value configured in the set clause.

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

Command context

config-route-map

Parameters

{igp | egp | incomplete}

Selects the route update originated to IGP, EGP, or incomplete. When incomplete is selected, the route update origin is set to unknown.

Authority

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

Example

Configuring a set clause in the route map to modify the origin attribute of the route:

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