[c-nsp] BGP regular expression

Arnold Nipper arnold at nipper.de
Mon Oct 17 03:27:59 EDT 2005


On 17.10.2005 04:50 Joe Shen wrote

> Hi,
> 
> I met questions with BGP regular expression. 
> If I want to match any traffic from/to AS100,as101, as
> 102 etc, what's the correct express in the following
> expressions  cisco style AS expression?
> 
> (^|_)(100|101|102)($)  
> 
> _(100|101|102)($)
> 

_10[123]$


See also e.g.
http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_command_reference_chapter09186a00800ca655.html
-- 
Arnold Nipper, AN45


More information about the cisco-nsp mailing list