Following AS Path, origin type is evaluated next in the order of preference.
The BGP attribute is well-known and is known simply as ‘origin’.
Origin defines where networks originated from, how they were advertised into BGP. Networks that were advertised into BGP via a
network statement in the BGP configuration are given an ‘i’ indicator, or IGP.
Redistributed networks are assigned an Incomplete, or ‘?’ indicator.
The order of preference for origin are:
- IGP Origin
- EGP Origin
- Incomplete or Unknown Origin