RE: Permitting specific prefixes in BGP

From: Lupi, Guy (Guy.Lupi@xxxxxxxxxxxxx)
Date: Thu Feb 14 2002 - 22:04:44 GMT-3


   
What about denying all the ones you don't want redistributed in an earlier
sequence of the route map? Something like, see if that works:

route-m NETS-LYNG deny 10
match ip addr pref NETS-LYNG-DENY
!
route-m NETS-LYNG permit 20
match ip addr pref NETS-LYNG-PERMIT
!
ip pref NETS-LYNG-DENY deny 10.12.1.0/24
ip pref NETS-LYNG-PERMIT permit 10.12.0.0/16

~-----Original Message-----
~From: Asbjorn Hojmark [mailto:Asbjorn@Hojmark.ORG]
~Sent: Thursday, February 14, 2002 7:47 PM
~To: ccielab@groupstudy.com
~Subject: Permitting specific prefixes in BGP
~
~
~I have a router that I want to announce 10.0.0.0/8 as an aggre-
~gate. This will suppress tons of other networks. But I also want
~to unsuppress a couple of specific networks (e.g. 10.12.0.0/16)
~to a specific peer.
~
~I've tried using
~
~ router bgp 1010
~ aggr 10.0.0.0 255.0.0.0 summ
~ neigh a.b.c.d unsupp NETS-LYNG
~
~ route-map NETS-LYNG perm 10
~ match ip addr ip pref NETS-LYNG
~
~ route-map NETS-LYNG deny 20
~
~ ip pref NETS-LYNG permit 10.12.0.0/16
~ ip pref (etc).
~
~But that doesn't seem to do the trick, as that also unsuppresses
~10.12.1.0/24, which I still want to be suppressed.
~
~Any ideas?
~
~TIA,
~-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:23 GMT-3