RE: BGP issue

From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Wed May 24 2006 - 14:06:23 ART


The route-map in the network statement sets the configured options in the
Loc-RIB, so the route in the Router also has the configured value (ie
communities, etc)
If you set the route-map to a neighbor then you are affecting the
Adj-RIBs-Out

http://www.ietf.org/rfc/rfc1771.txt

      a) Adj-RIBs-In: The Adj-RIBs-In store routing information that has
      been learned from inbound UPDATE messages. Their contents
      represent routes that are available as an input to the Decision
      Process.

      b) Loc-RIB: The Loc-RIB contains the local routing information
      that the BGP speaker has selected by applying its local policies
      to the routing information contained in its Adj-RIBs-In.

      c) Adj-RIBs-Out: The Adj-RIBs-Out store the information that the
      local BGP speaker has selected for advertisement to its peers. The
      routing information stored in the Adj-RIBs-Out will be carried in
      the local BGP speaker's UPDATE messages and advertised to its
      peers.

Victor.

-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de Shamin
Enviado el: Miircoles, 24 de Mayo de 2006 12:44 p.m.
Para: xprtofnet
CC: Cisco certification
Asunto: Re: BGP issue

Thanks for your reply.

So is it that, when you configure the following statement :

network 174.1.1.0 mask 255.255.255.0 route-map LOCAL_AS

We are informing the router that , this network should be assigned a
community of Local-As and for the same reason R1 does not advertise this
network to R3 as it sees the route with a Local-as Community assigned.

I got confused by seeing the route-map in the network statement. Never used
it before.

Regards
shamin

On 5/24/06, xprtofnet <xprtofnet@yahoo.com> wrote:
>
> by setting the community to "local-as" you are telling
> the router not to advertise this prefix out side your
> own local as.
>
> m2c
>
> --- Shamin <ccie.xpert@gmail.com> wrote:
>
> > Hi all,
> >
> > I am stuck in a problem from the IEWB VER3 LAB-8
> > Task 4.5. The scenario is
> > as follows :
> >
> >
> > BB3 (AS 54)
> > |
> > (EBGP) Eth0/0
> > {174.1.1.1/24}
> > |
> > |
> > R5(AS 65145) ----------- R1(AS
> > 65145 )
> > -----------(EBGP)----------- R3(AS 65038)
> > -----------(EBGP)---- R2(AS 65267)
> > |
> > |
> > |
> > |
> > |____R4(AS 65145)__|
> >
> >
> >
> > The question states as follows :
> > 1) Advertise 174.1.1.0/24 network into the bgp
> > domain on R1
> > 2) Devices outside of AS 65145 should not have
> > reachability to this
> > network
> > 3) Do not use any access-list or prefix lists
> > to accomplish this.
> >
> > The solution provided is as follows on R1 -
> >
> > R1#
> > router bgp 65145
> > network 174.1.1.0 mask 255.255.255.0
> > route-map LOCAL_AS
> > neighbor 150.1.5.5 send-community
> > !
> > route-map LOCAL_AS permit 10
> > set community local-As
> >
> >
> > Can anyone help me understand the two statements
> > under the router bgp ,
> > especially the network statement. And what does this
> > Local-As
> > community actually do. When i configured this in my
> > lab, I was not able to
> > see the 174.1.1.0/24 network on R3 as required. Why
> > didnt R1 sent the
> > update to R3 because as per above configurations , I
> > dont see any reason for
> > R1 not adverstising 174.1.1.0/24 to R3.
> >
> > Please help me understand the scenario.
> >
> > Regards
> > Shamin
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:22 ART