The Origin attribute informs the Autonomous Systems (AS) about the originator of that route. It is a Well-Known Mandatory BGP Path attribute. It is supported in all BGP implementations and in all update packets it must exist.
There are three different Origin type. These are :
• i (IGP)
• e (EGP)
• ? (Incomplete)
i (IGP) routes are the routes which are originated from a routing protocol, like RIP, OSPF, EIGRP etc. Generally this is done via network command under the BGP process.
e (EGP) routers are the routes which are originated from External Gateway Protocol (EGP). Now the only EGP is BGP, so this is the routes originatd from BGP.
? (Incomplete) routes are the routes which are Redistributed from static, IGP etc. into the BGP.
You can see any BGP route’s origin with “show ip bgp” command. At the end of the output table, the origin code ( i, e or ?) is shown.
Let’s check the bgp routes of the below topology.