What would be the difference between these two class-maps
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” 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
























