From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Tue Sep 05 2006 - 11:42:00 ART
When you use the advertise-map it means to exclude any subnet
from the aggregate that is denied in the advertise-map. In your case
you are matching all prefixes that originated in AS 100. However since
all subnets of the aggregate are originated in AS 100, they are all
denied, and hence no aggregate is created. If you want the originating
AS of the subnets to discard the aggregate simply include it's AS number
in the aggregate with the "as-set" option. So to get this to work
change your aggregate statement to just:
aggregate-address 192.168.8.0 255.255.248.0 as-set
HTH,
Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Angelo De Guzman
> Sent: Tuesday, September 05, 2006 8:41 AM
> To: ccielab@groupstudy.com
> Subject: BGP - Aggregate-AS-Set-AdvertiseMap
>
> Hi,
> I wanted to aggregate 192.168.10.0 and 192.168.11.0 network. My
> scenario
> tells me that I should send a summary of this route and only the
> originating AS
> should not see this summary. My solution which does not work.
> !
> router bgp 400
> aggregate-address 192.168.8.0 255.255.248.0 as-set advertise-map ADV
> !
> ip as-path access-list 2 deny _100$
> ip as-path access-list 2 permit .*
> !
> route-map ADV permit 10
> match as-path 2
> !
>
> Any help.
>
> R4(config-router)#do sh ip bgp
> BGP table version is 9, local router ID is 137.10.4.4
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> * 192.168.0.0 137.10.5.5 0 1250 100
i
> *> 137.10.2.2 0 1250 100
i
> * 137.10.7.7 0 700 600
1250
> 100 i
> * 192.168.1.0 137.10.5.5 0 1250 100
i
> *> 137.10.2.2 0 1250 100
i
> * 137.10.7.7 0 700 600
1250
> 100 i
> *> 192.168.2.0 137.10.7.7 0 700 890 i
> *> 192.168.3.0 137.10.7.7 0 700 890 i
> * 192.168.10.0 137.10.5.5 0 1250 100
i
> *> 137.10.2.2 0 1250 100
i
> * 137.10.7.7 0 700 600
1250
> 100 i
> * 192.168.11.0 137.10.5.5 0 1250 100
i
> *> 137.10.2.2 0 1250 100
i
> * 137.10.7.7 0 700 600
1250
> 100 i
> *> 192.168.20.0 137.10.7.7 0 700 890 i
> *> 192.168.21.0 137.10.7.7 0 700 890 i
> R4(config-router)#
>
>
>
>
> ***********************
> No virus was detected in the attachment no filename
>
> Your mail has been scanned by InterScan MSS.
> ***********-***********
>
>
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART