From: Snow, Tim (timothy.snow@eds.com)
Date: Tue Sep 16 2003 - 03:10:05 GMT-3
Been searching around the cisco site but am unable to find such an answer
and it's beginning to bug me.
Does anyone know if there is a "AND" regular expression. I know there is a
OR (|) but I've tried using two logical NOT's in order to try and come up
with an AND but to no avail.
Say if you wanted to match a path that contained as 5000 and 2000 in either
order, rather than using
ip as-path access-list 1 permit (2000)+(_.*)*(_5000)+|(5000)+(_.*)*(_2000)+
First instance says matching 2000 then anything then 5000
After the | comes 5000 then anything then 2000
Rather than doing all the extra work (can anyone confirm if it's correct) is
there a way to say "must contain 2000 and 5000" in one list?
Tim
***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
This archive was generated by hypermail 2.1.4 : Wed Oct 01 2003 - 07:24:28 GMT-3