25 set origin – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 395
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 395 of 855
19.24.1.6 Related
Commands
19.25 set origin
Use this command to set the BGP origin code.
Use the no parameter with this command to delete an entry.
The origin attribute defines the origin of the path information. The three parameters with this
command indicate three different values. IGP is interior to the originating AS. This happens if IGP
is redistributed into the BGP. EGP is learned through an Exterior Gateway Protocol. Incomplete is
unknown or learned through some other means. This happens when static route is redistributed in
BGP and the origin of the route is incomplete.
To use the set origin command, you must first have a match clause. Match and set commands set
the conditions for redistributing routes from one routing protocol to another. The match command
specifies the match criteria under which redistribution is allowed for the current route-map. The set
command specifies the set redistribution actions to be performed, if the match criteria are met.
If the packets do not match any of the defined criteria, they are routed through the normal routing
process.
Note:
This command is valid for BGP only.
19.25.1.1 Command
Syntax
set origin { egp | igp | incomplete }
no set origin
19.25.1.2 Syntax
Description
egp
Specifies a remote EGP system.
igp
A local IGP system.
incomplete
Specifies a system of unknown heritage.
19.25.1.3 Command
Mode
Route-map mode