RE: Permitting specific prefixes in BGP

From: Asbjorn Hojmark (Asbjorn@xxxxxxxxxxx)
Date: Sat Feb 16 2002 - 09:30:20 GMT-3


   
> Lets say you have a BGP speaker with the following loopback
> networks:
>
> 10.12.1.1/24
> 10.12.2.1/24
> 10.12.3.1/24
> 10.12.4.1/24
> 10.12.5.1/24
>
> You want to advertise a 10.0.0.0 summary route, plus one more
> specific.

The issue here is a little different, as I want to advertise
10.0.0.0/8 and 10.12.0.0/16 but not 10.12.x.0/24.

> router bgp AS#
> aggregate-address 10.0.0.0 255.255.0.0 supress-map AGG+SPEC
>
> route-map AGG+SPEC permit 10
> match ip ad 1
>
> access-list 1 permit 10.12.1.0 0.0.0.255
> access-list 1 permit 10.12.2.0 0.0.0.255
> access-list 1 permit 10.12.3.0 0.0.0.255
> access-list 1 permit 10.12.5.0 0.0.0.255

You're doing it the other way round. I don't want to specify all
the specific networks that I don't want, just the networks that
I do want.

-A



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:24 GMT-3