Origin code specifies how the route got into BGP in the first place...
You basically have 3 options:
i (IGP) - The route was in your routing table and inserted into BGP using a "network" statement
e (EGP) - AFAIK was used when redistributing from EGP to BGP, but EGP not used anymore
? (Incomplete) - when using a "redistribute" command to send routes into BGP
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Raghav Bhargava
Sent: 18 May 2010 08:20 AM
To: Cisco certification
Subject: Regarding Origin Code in BGP
Hi Experts,
I have a query regarding Origin code in BGP. Below is my topology:
R1<----FR link ----> R2
R2 advertise's the network 2.2.0.2/24 to R1 via BGP. The output for the same
on R1 is as follows:
r1#show ip bgp | in 2.2.0.2
*> 2.2.2.0/24 10.1.12.2 0 0 200 *i*
Now my doubt is the " *i* " on the right hand side is the origin code which
is IGP, but since i am advertising it via BGP why am i seeing it as IGP??
-- Warm Regards Raghav Blogs and organic groups at http://www.ccie.netReceived on Tue May 18 2010 - 08:37:34 ART
This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:53 ART