[nsp] BGP RegEx
james
hackerwacker at cybermesa.com
Fri Mar 12 14:16:26 EST 2004
deny ^1_2$
permit ^1_[0-9]*$
This will allow all as paths that start with AS 1
and contain 2 as paths, except the path ^1_2$
----- Original Message -----
From: "John Pang" <whoami1234_1234 at yahoo.com>
To: <cisco-nsp at puck.nether.net>
Sent: Friday, March 12, 2004 11:24 AM
Subject: [nsp] BGP RegEx
: 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 you're 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