Try

class-map CMAP_ATTACK
  match protocol http url "(*default\.ida|*cmd\.exe|*root\.exe)"

On Mon, Feb 7, 2011 at 1:14 PM, Jerome Dolphin <[email protected]> wrote:

> I don't think so - IOS is not expecting a regular expression but rather a
> string.
>
>
> http://www.cisco.com/en/US/partner/docs/ios/qos/command/reference/qos_m1.html#wp1058795
>
> *match protocol http* [*url* *url-string *...]
>
>
>
> On Sat, Feb 5, 2011 at 10:45 PM, kamran shakil 
> <[email protected]>wrote:
>
>> if i have to match strings in URL , is the following correct and does the
>> same:
>>
>> match protocol http  url  "(.*ida*|(cmd|root).exe)"   serves the same
>> purpose as below:
>>
>>
>> class-map match-any CMAP_ATTACK
>> match protocol http url "*default.ida*"
>> match protocol http url "*cmd.exe*"
>> match protocol http url "*root.exe*"
>>
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please
>> visit www.ipexpert.com
>>
>>
>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to