05-09-2013 11:08 AM - edited 03-07-2019 01:16 PM
I am trying to understand bgp table and confused in what cases will a route appear as IGP,EGP or incomplete, basically a route origin code? Also when will a route appear as internal route? Can somebody help me understand this (with maybe an example)?
Solved! Go to Solution.
05-10-2013 11:35 AM
*> 10.147.41.2/32 10.219.65.210 0 65000 64999
The router in AS 65156 learned this route via iBGP from another router in AS 65156. iBGP being 2 routers in the same AS.
*> 10.224.0.24/32 10.219.65.210 0 65000 64999 ?
The router in AS 64999 learned the route via redistribution. That router is runing and IGP like EIGRP/RIP/OSPF. Your router is learning via eBGP.
HTH
Chad
05-09-2013 11:21 AM
The origin is a mandatory attribute that defines the origin of the path information. The origin attribute can assume three values:
IGP—Network Layer Reachability Information (NLRI) is interior to the AS of origination. This normally happens when you issue the bgp network command . An i in the BGP table indicates IGP.
EGP—NLRI is learned via exterior gateway protocol (EGP). An e in the BGP table indicates EGP.
INCOMPLETE—NLRI is unknown or learned via some other means. INCOMPLETE usually occurs when you redistribute routes from other routing protocols into BGP and the origin of the route is incomplete. An ? in the BGP table indicates INCOMPLETE
More info:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#origin
HTH
05-09-2013 11:29 AM
Hi Reza,
I have read that, I was expecting an answer with some examples explaining in which scenario a particular origin code will be seen. Thanks for replying though!
Thanks.
05-09-2013 11:42 AM
Hello Kashish,
Here is a very basic explanation and example of this in case studies:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#origin
and first section here:
http://www.informit.com/library/content.aspx?b=CCIE_Practical_Studies_II&seqNum=103
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
05-10-2013 10:49 AM
I am still confused.
In my router, I see two routes in bgp table, one marked as i, other as ?
*> 10.147.41.2/32 10.219.65.210 0 65000 64999
*> 10.224.0.24/32 10.219.65.210 0 65000 64999 ?
On the router, I don't see second route learnt in BGP via redistribution. Why is ? appearing in origin code then?
05-10-2013 11:35 AM
*> 10.147.41.2/32 10.219.65.210 0 65000 64999
The router in AS 65156 learned this route via iBGP from another router in AS 65156. iBGP being 2 routers in the same AS.
*> 10.224.0.24/32 10.219.65.210 0 65000 64999 ?
The router in AS 64999 learned the route via redistribution. That router is runing and IGP like EIGRP/RIP/OSPF. Your router is learning via eBGP.
HTH
Chad
05-10-2013 12:18 PM
Thanks Chad..That explains it..
02-26-2019 07:16 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide