RE: BGP aggregate-address with advertise-map

From: Sonu Khandelwal (sokhande) <sokhande_at_cisco.com>
Date: Tue, 7 Sep 2010 09:12:15 +0530

Hi,
I think BGP is working as expected. 200.0.3.0 and 200.0.2.0 at R4 seems
to be coming from R3 and not from R6. 200.0.1.0 and 200.0.0.0 are coming
from both R6 and R3. This is happening because of adevertise-map at R6.

> * i200.0.0.0 158.5.3.3 2297856 100 0 200 ?
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.0.0/22 158.5.3.3 0 100 0 200 i
> *> 158.5.46.6 0 0 200 i
> * i200.0.1.0 158.5.3.3 2297856 100 0 200 ?
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.2.0 158.5.3.3 2297856 100 0 200 ?
-->
> don't expect route here
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.3.0 158.5.3.3 2297856 100 0 200 ?
-->

Thanks,
Sonu

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
George Goglidze
Sent: Monday, September 06, 2010 4:55 AM
To: selamat pagi
Cc: Cisco certification
Subject: Re: BGP aggregate-address with advertise-map

Hi,

I think you have to include summary-only in there too, otherwise it will
announce it all.
It should have both, summary-only and advertise-map ...

Regards,

On Sun, Sep 5, 2010 at 12:56 PM, selamat pagi <ketimun_at_gmail.com> wrote:

> Can this be achieved with an advertise-map ?
>
>
> On R6 I receive 4 routes via EIGRP and redistribute them into BGP
then
> send
> it via EBGP to R4.
> On R4 I need to get a summary-route and the specific-routes for
> 200.0.0.0/24and
> 200.0.1.0/24.
> I cannot change the aggregate-mask.
>
> R6
> router bgp 200
> aggregate-address 200.0.0.0 255.255.252.0 advertise-map ADVERTISE
> redistribute eigrp 10
> neighbor 158.5.46.4 remote-as 100 --> R4
>
> route-map ADVERTISE permit 10
> match ip address prefix-list EIGRP
> !
> route-map ADVERTISE deny 20
> !
> ip prefix-list EIGRP seq 5 permit 200.0.0.0/24
> ip prefix-list EIGRP seq 10 permit 200.0.1.0/24
>
>
>
------------------------------------------------------------------------
--------
> R6#sh ip bg
> *> 200.0.0.0 54.5.1.254 2297856 32768 ?
> *> 200.0.0.0/22 0.0.0.0 32768 i
> *> 200.0.1.0 54.5.1.254 2297856 32768 ?
> *> 200.0.2.0 54.5.1.254 2297856 32768 ?
> *> 200.0.3.0 54.5.1.254 2297856 32768 ?
>
> R6#sh ip route eigrp
> D 200.0.0.0/24 [90/2297856] via 54.5.1.254, 01:22:00,
Serial0/0/0.101
> D 200.0.1.0/24 [90/2297856] via 54.5.1.254, 01:22:00,
Serial0/0/0.101
> D 200.0.2.0/24 [90/2297856] via 54.5.1.254, 01:22:00,
Serial0/0/0.101
> D 200.0.3.0/24 [90/2297856] via 54.5.1.254, 01:22:00,
Serial0/0/0.101
>
>
------------------------------------------------------------------------
--------
>
> R4#sh ip bgp vpn all
> * i200.0.0.0 158.5.3.3 2297856 100 0 200 ?
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.0.0/22 158.5.3.3 0 100 0 200 i
> *> 158.5.46.6 0 0 200 i
> * i200.0.1.0 158.5.3.3 2297856 100 0 200 ?
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.2.0 158.5.3.3 2297856 100 0 200 ?
-->
> don't expect route here
> *> 158.5.46.6 2297856 0 200 ?
> * i200.0.3.0 158.5.3.3 2297856 100 0 200 ?
-->
> don't expect route here
>
>
> thanks for your help,
> keti
>
>
> Blogs and organic groups at http://www.ccie.net
>
>
Received on Tue Sep 07 2010 - 09:12:15 ART

This archive was generated by hypermail 2.2.0 : Fri Oct 01 2010 - 05:58:05 ART