match-all match-any

From: Edi Guntoro (eguntoro@sisindosat.co.id)
Date: Fri Dec 03 2004 - 07:31:04 GMT-3


hi all,
 
please correct me,
 
sol#1
class-map match-all test
 match prot http
 match prot telnet
 match prot xxx
 
policy-map test
 class test
 set prec 3
 
sol#2
 
class-map match-any test
 match prot http
 match prot telnet
 match prot xxx
 
policy-map test
 class test
 set prec 3
 
my understanding is , if we use sol#1 the rule under policy-map will not work untill all match criteria under class-map are match. then the sol#2 the rule under policy-map will work if one of the match criteria is match.
 
will both solution set the traffic/packet to prec 3 ??
 
thanks



This archive was generated by hypermail 2.1.4 : Mon Jan 03 2005 - 10:31:24 GMT-3