From: Chris Gray (chris.gray@ozonenetworks.net)
Date: Mon May 26 2008 - 06:16:15 ART
Heres how I understand it Amin, but if anyone else knows different please
speak up!
Match protocol http host = match the host (note no / in host address) .
Example is bbc.co.uk or uk.news.bbc.co.uk etc.
Match protocol http url = matches a path e.g. bbc.co.uk/news
Would match exactly that.
Another example
Match protocol http url news would match any host with the directory /news
Match protocol http url news* would match any host , first directory news
and subsequenet paths from there.
Match protocol http url *news* would match any host , and any directory with
news in the path
To answer your original question your first example contains an error (I
think )
This is how I think you need to change in order to match what you want in
this example.
class-map match-all TEST
match protocol http host "www.XYZ.com" <- correct
match protocol http url "directory*" <- matches directory/any/etc
vs
class-map match-all TEST
match protocol http host "www.XYZ.com/directory" <- correct also
Both of these are the same now.. But hey, I'm not a CCIE yet so if anyone
can shed further light , please do.
Regards
Kriz
> Experts,
>
>
>
> What would be the difference between these two class-maps
>
>
>
> class-map match-all TEST
>
> match protocol http host "www.XYZ.com"
>
> match protocol http url "/directory/"
>
>
>
> vs
>
>
>
> class-map match-all TEST
>
> match protocol http host "www.XYZ.com/directory"
>
>
>
>
>
> Regards,
>
> Amin
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART