[nsp] BGP RegEx

John Pang whoami1234_1234 at yahoo.com
Sun Mar 14 11:15:20 EST 2004


Thanks to everyone who replied with suggestions. It
worked just fine. It kinda slipped my mind earlier
that the access-lists could have more than 1 line. I
was cracking my head trying to figure out how to put
all that stuff into one single regex. :p

--- ROY <roy at cybees.com> wrote:
> how about the lines below
> 
> deny ^1_2$
> permit .*
> 
> On Sat, 2004-03-13 at 02:24, John Pang wrote:
> > Hi everyone,
> > 
> > I am trying to do BGP filtering and is wondering
> if
> > anyone can help me out on the following issue.
> > 
> > Assuming I have an AS-PATH as follows:
> > 
> > 1 2
> > 1 3
> > 1 4
> > 
> > For route-maping, is it possible to write a regex
> that
> > filters out only "1 2" but accepts everything else
> > that is "1 *" ?
> > 
> > Thanks,
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Search - Find what youre looking for faster
> > http://search.yahoo.com
> > _______________________________________________
> > 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/
> > 
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com


More information about the cisco-nsp mailing list