Nico,
You are considered a plural person. One thing that I will add for both of
you. EGP is also used as a reference for BGP as BGP is an External Gateway
Protocol. Using the origin of EGP can be a reference to learned via BGP but
you typically need to set this code via a route-map if you want to do it.
Regards,
Tyson Scott - CCIE #13513 R&S, Security, and SP
Technical Instructor - IPexpert, Inc.
Mailto: tscott_at_ipexpert.com
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Raghav Bhargava
Sent: Tuesday, May 18, 2010 3:02 AM
To: Nico Van Niekerk
Cc: Cisco certification
Subject: Re: Regarding Origin Code in BGP
ok this cleared the doubt.. Thanks everyone for your valuable input..:)
On Mon, May 17, 2010 at 11:53 PM, Nico Van Niekerk <
Nico.VanNiekerk_at_momentum.co.za> wrote:
> Hi Raghav, see my comments below:
>
> > The route came in the routing table when i advertise it via the network
> statement under BGP.
>
> No The route was already in the ROUTING TABLE on this router (probably
> because of an IGP or connected). Using the network statement inserted the
> route into the BGP TABLE on this router and advertised it to the BGP
peers.
> Does that make sense?
>
>
> > So AFAIK when i am using network statement under BGP and since BGP is
> not a IGP the i should not exist. Please correct me if i am wrong.
>
> No using the network statement creates a route in the BGP table and
> assigns it an origin code of i
>
> The origin code does not define how a router learned the route (its
> already in the BGP table because it learned it via BGP from its
neighbor),
> but it indicates how the route was originated into the BGP process.
>
>
>
> On Mon, May 17, 2010 at 11:37 PM, Nico Van Niekerk <
> Nico.VanNiekerk_at_momentum.co.za> wrote:
>
> 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.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
> **********************************************************************
> This email and all content are subject to the following disclaimer:
> http://content.momentum.co.za/content/legal/disclaimer_email.htm
> **********************************************************************
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
>
> --
> Warm Regards
> Raghav
>
> **********************************************************************
>
> This email and all content are subject to the following disclaimer:
>
> http://content.momentum.co.za/content/legal/disclaimer_email.htm
>
> **********************************************************************
>
>
>
-- Warm Regards Raghav Blogs and organic groups at http://www.ccie.netReceived on Tue May 18 2010 - 09:28:57 ART
This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:53 ART