Re: (BGP) AS-Path attribute of an aggregate

From: Ivan (ivan@iip.net)
Date: Mon Feb 26 2007 - 14:05:50 ART


2.2.2.0/28 --> R4(as12) peer R6(as11)

R6#sh ip proto | i bgp|Neig|10.4.4
    10.4.4.4 110 00:00:23
Routing Protocol is "bgp 11"
  Neighbor(s):
    10.4.4.4
    10.4.4.4 200 00:01:17

R4#sh ip proto | i bgp|Neigh|10.6.6
    10.6.6.6 110 00:01:12
Routing Protocol is "bgp 12"
  Neighbor(s):
    10.6.6.6
    10.6.6.6 200 00:02:04

R6 receive 2.2.2.0/28
R6#sh ip bgp 2.2.2.0
BGP routing table entry for 2.2.2.0/28, version 168
Paths: (1 available, best #1, table Default-IP-Routing-Table, Advertisements
suppressed by an aggregate.)
  Not advertised to any peer
  10 1
    10.80.80.1 from 10.80.80.1 (11.11.11.11)
      Origin incomplete, localpref 100, valid, external, best

R6 summary up to /24 and has local-as 6666.
At R4 you see /24 AS-PATH only 6666
At R4 you see /28 AS-PATH originally

R6#c
R6(config)#router bgp 11
R6(config-router)#neig 10.4.4.4 local-as 6666 no rep

R4#sh ip bgp 2.2.2.0/24
BGP routing table entry for 2.2.2.0/24, version 427
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
  Not advertised to any peer
  6666, (aggregated by 11 10.6.6.6)
    10.6.6.6 (metric 782) from 10.6.6.6 (10.6.6.6)
      Origin IGP, metric 0, localpref 100, valid, external, atomic-aggregate,
best

R4#sh ip bgp 2.2.2.0
BGP routing table entry for 2.2.2.0/28, version 432
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
  Not advertised to any peer
  6666 10 1
    10.6.6.6 (metric 782) from 10.6.6.6 (10.6.6.6)
      Origin incomplete, localpref 100, valid, external, best

On Monday 26 February 2007 16:04, Digital Yemeni wrote:
> I don't see the relation between the "local-as" and changing the AS-PATH of
> a locally generated aggregate! Am i missing someth'n?!
>
>
>
> Best Regards,
>
> Digital
> ---------------------------------------------------------------------------
>---------------------------------------
>
>
> ***************************************************************************
>******** *.* You'll NEVER succeed as a "CCIE" until you LOVE Cisco MORE than
> your sleep! *.*
> ***************************************************************************
>******** I've not slept for the past 5 years and I'm expected to be busy for
> the next 57 years + The 5 CCIEs preparation adds on that a bit. Therefore,
> please be concise on your email. Thank you!
>
> >From: Ivan <ivan@iip.net>
> >Reply-To: Ivan <ivan@iip.net>
> >To: ccielab@groupstudy.com, "Digital Yemeni" <digital-yemeni@hotmail.com>
> >Subject: Re: (BGP) AS-Path attribute of an aggregate
> >Date: Mon, 26 Feb 2007 13:13:13 +0300
> >
> >try to setup bgp-session with local-as on one side.
> >
> >On Sunday 25 February 2007 02:02, Digital Yemeni wrote:
> > > Hi guys,
> > >
> > > Can anyone try to aggregate some prefixes and then change the AS-Path
> > > attribute to make it look as if this aggregate was received from
> > > another AS-Number and not locally generated?!
> > >
> > > I tried with the "route-map" and change the "as-path prepend" but BGP
> > > unhappily says:
> > > %"Route-Map-Name" used as BGP attribute route-map, set as-path prepend
> >
> >not
> >
> > > supported"
> > >
> > > any other way?!
> > >
> > >
> > >
> > > Best Regards,
> > >
> > > Digital
> >
> >--------------------------------------------------------------------------
> >-
> >
> > >---------------------------------------
> >
> >**************************************************************************
> >*
> >
> > >******** *.* You'll NEVER succeed as a "CCIE" until you LOVE Cisco MORE
> >
> >than
> >
> > > your sleep! *.*
> >
> >**************************************************************************
> >*
> >
> > >******** I've not slept for the past 5 years and I'm expected to be busy
> >
> >for
> >
> > > the next 57 years + The 5 CCIEs preparation adds on that a bit.
> >
> >Therefore,
> >
> > > please be concise on your email. Thank you!
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> >--
> >Ivan
> >
> >_______________________________________________________________________
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.com/

-- 
Ivan


This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:48 ART