[c-nsp] How to set BGP commun. to none then to a value
Gert Doering
gert at greenie.muc.de
Fri Aug 12 02:42:50 EDT 2005
Hi,
On Fri, Aug 12, 2005 at 12:19:49AM -0000, Þórhallur Hálfdánarson wrote:
> 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 ...
No. Just set the new community that you want:
route-map test permit 10
set community 1234
unless you specify "set community 1234 additive", it will automatically
remove all existing communities.
...and this has already been said in this thread - you even quote it:
> > > 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".
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert at greenie.muc.de
fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de
More information about the cisco-nsp
mailing list