12-15-2008 12:25 AM - edited 03-06-2019 02:58 AM
all,
in the configuration of class-map with expressions, what are the differences between placing the asterisk (*) on the examples below?
class-map class1
match protocol http mime "*.jpeg"
class-map class2
match protocol http host cisco*
class-map class3
match protocol fasttrack file-transfer "*cisco*"
Solved! Go to Solution.
12-15-2008 01:28 AM
match protocol http mime "*.jpeg"
All http mime files having an extension *.jpeg will be matched
match protocol http host cisco*
Will match the http packets with the hostname string. The * at the end of the string match cisco at the beginning of the string
match protocol fasttrack file-transfer "*cisco*"
This matches all the fast track protocols with the character Cisco. * at both ends means match if it is present anywhere in the string
HTH
Narayan
12-15-2008 01:28 AM
match protocol http mime "*.jpeg"
All http mime files having an extension *.jpeg will be matched
match protocol http host cisco*
Will match the http packets with the hostname string. The * at the end of the string match cisco at the beginning of the string
match protocol fasttrack file-transfer "*cisco*"
This matches all the fast track protocols with the character Cisco. * at both ends means match if it is present anywhere in the string
HTH
Narayan
12-19-2008 12:00 AM
this is great. thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide