Re: regular express question

From: Ram Shummoogum (rshummoo@ca.ibm.com)
Date: Thu Apr 10 2003 - 13:22:28 GMT-3


Try this.

ip as-path access-list 1 permit _3550_(.*)2400_|_2400_(.*)3500_
!
route-map AND permit 10
 match as-path 1
 set metric 5000

"Ahmed Hassan" <ahmed_hassan@rayatelecom.net>@groupstudy.com on 04/10/2003
10:35:26 AM

Please respond to "Ahmed Hassan" <ahmed_hassan@rayatelecom.net>

Sent by: nobody@groupstudy.com

To: <ccielab@groupstudy.com>
cc:
Subject: regular express question

Hi GROUP ,
Can any one tell me how to make a regular expression that have an logical
"AND" condition , for example
I wan a regular expression that will filter BGP table to get expressions
contain both AS2400 and AS3500 the order is not important
best regards

*************************************
Ahmed Hassan El-shinnawy
Network Planning and configuration Engineer
Raya Telecom
ahmed_hassan@rayatelecom.net
*************************************



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:50 GMT-3