RE: can anyone give me a working example of bgp advertise-map with no-exist-map?

From: SALVATORI,DAVID (HP-Italy,ex1) (david_salvatori@xxxxxx)
Date: Sun Dec 03 2000 - 19:26:31 GMT-3


   
   An example to understand:
   
   Pretend you have two routers making E-BGP peering , says A and B; B is
   receiving from other router in the same AS (so, speaking I-BGP with B)
   two routes, says 1.0.0.0 e 2.0.0.0; the requirement is that B should
   has to pass to router A network 1.0.0.0 if he would receive both
   1.0.0.0 AND 2.0.0.0 from other I-BGP speaker routers (that is, B has
   1.0.0.0 and 2.0.0.0 in its BGP table), otherwise it would have to send
   only network 2.0.0.0 in the case it would not receive network 1.0.0.0
   anymore!
   
   Solution (tested and working) : on router B
   
   router bgp 1234
   
   neighbor x.x.x.x remote-as 4321 <------ this is router A
   
   neighbor x.x.x.x advertise-map pippo1 non-exist-map pippo2
   
   !
   
   route-map pippo1 permit 10
   
   match ip address 1
   
   !
   
   route-map pippo2 permit 10
   
   match ip address 2
   
   !
   
   access-list 1 permit 2.0.0.0 0.255.255.255
   
   access-list 2 permit 1.0.0.0 0.255.255.255
   
   
   -----Original Message-----
   From: zheng jiang gu [mailto:zjgu@ce-air.com]
   Sent: Sunday, December 03, 2000 2:12 PM
   To: ccielab@groupstudy.com
   Subject: can anyone give me a working example of bgp advertise-map
   with no-exist-map?
   I do not know how to use the command clearly



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:58 GMT-3