From: Asbjorn Hojmark (Asbjorn@xxxxxxxxxxx)
Date: Sat Feb 16 2002 - 09:50:16 GMT-3
> ip pref NETS-LYNG permit 10.12.0.0/32
That brough me on to the solution. The following works:
router bgp <ASN1>
no synchronization
aggregate-address 10.0.0.0 255.0.0.0 suppress-map NETS-LYNG
aggregate-address 10.12.0.0 255.255.0.0 summary-only
aggregate-address 10.20.0.0 255.255.0.0 summary-only
aggregate-address 10.40.0.0 255.255.0.0 summary-only
aggregate-address 10.58.0.0 255.255.0.0 summary-only
aggregate-address 10.70.0.0 255.255.0.0 summary-only
aggregate-address 10.71.0.0 255.255.0.0 summary-only
aggregate-address 10.73.0.0 255.255.0.0 summary-only
neighbor 10.10.254.9 remote-as <ASN2>
neighbor 10.10.254.9 soft-reconfiguration inbound
no auto-summary
route-map NETS-LYNG permit 10
match ip address 20
access-list 20 deny 10.0.0.0
access-list 20 deny 10.12.0.0
access-list 20 deny 10.20.0.0
access-list 20 deny 10.40.0.0
access-list 20 deny 10.58.0.0
access-list 20 deny 10.73.0.0
access-list 20 deny 10.70.0.0
access-list 20 deny 10.71.0.0
access-list 20 permit any
It's really quite simple, once you get it: Use aggregate-maps
to get the summaries, that you want. Then use a suppress map
for the major net, and deny the summaries, you don't want sup-
pressed.
Regards,
-A
-- Heroes: Vint Cerf & Bob Kahn, Leonard Kleinrock, Robert Metcalfe Links : http://www.hojmark.org/networking/
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:24 GMT-3