[nsp] BGP RegEx

ROY roy at cybees.com
Fri Mar 12 15:00:21 EST 2004


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/
> 



More information about the cisco-nsp mailing list