[c-nsp] How to set BGP commun. to none then to a value

Þórhallur Hálfdánarson thorhallurh at ogvodafone.is
Thu Aug 11 20:19:49 EDT 2005


So, what Kim needs for clearing *and* setting new ones in the same route-map, is something like this...

route-map test permit 10
 set community none
 continue
route-map test permit 20
 match ...
 set community ...


Tolli

> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net 
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Hank 
> Nussbacher
> Sent: 11. ágúst 2005 15:27
> To: Rob Evans
> Cc: cisco-nsp at puck.nether.net
> Subject: Re: [c-nsp] How to set BGP commun. to none then to a value
> 
> On Thu, 11 Aug 2005, Rob Evans wrote:
> 
> route-map test permit 10
> set community none
> 
> will also remove any community.
> 
> -Hank
> 
> > > We are doing peering to a neighbor ISP, we would like to secure
> > > ourselves and null any communities coming from them, but 
> then we want
> > > to set a specific community on their routes to match it 
> all over our
> > > AS and use it for filters, can this be done in a signle route-map?
> >
> > Have you tried it and run into a problem?
> >
> > "set community <foo>" should do what you want.  If you need to leave
> > the existing communities on, you need to do "set community <foo>
> > additive".
> >
> > Rob
> >
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> >  +++++++++++++++++++++++++++++++++++++++++++
> >  This Mail Was Scanned By Mail-seCure System
> >  at the Tel-Aviv University CC.
> >
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 



More information about the cisco-nsp mailing list