From: Marko Milivojevic (markom@vodafone.is)
Date: Wed Jul 04 2007 - 06:26:14 ART
> I didn't know below regular expression.
> Pls. explain to me for example...
>
> ip as-path access-list 101 permit ^([0-9]+)(_\1)*$
It matches any AS path that consists of the same AS repeated twice (1111
1111; 65000 65000; etc).
I also didn't know that one could use backtracking (\1) in regex engine in
IOS. You learn something new every day :-)
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:39 ART