Reg Exp 'Any'

From: Sean C (Upp_and_Upp@hotmail.com)
Date: Mon Dec 06 2004 - 13:06:57 GMT-3


Hello,

When applying a regular expression to represent 'any AS', is there a
difference between:
(_[0-9]+)*
(_.+)*

In otherwords, if I had to apply a 'permit any AS' for an as-path ACL after
first going thru AS 2, would either of these statements fulfill the
requirement?

ip as-path access-list 1 permit ^2 (_[0-9]+)*
ip as-path access-list 1 permit ^2 (_.+)*

Thanks in advance, Sean

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004


This archive was generated by hypermail 2.1.4 : Mon Jan 03 2005 - 10:31:25 GMT-3