Nested Class Maps Vs Match-ALL Stmt

From: Zealist Hammad (zealist@gmail.com)
Date: Tue Nov 25 2008 - 19:27:15 ARST


Hies all,

I was practicing some Lab stuff and confused in nested class-maps
task is to match vlan 5 and set precedence 3 at SW1

*Solution 1 is*

class-map match-all ABC
match access-group name ACL1
class-map match-all XYZ
match vlan 12
match class-map ABC
match vlan 12

Policy-Map
Class XYZ
Set ip precedence 5

*Solution 2:*

class match-all myclass
match vlan 12
match access-group name ACL1
exit

And then use in policy-map.
Now my question is What is the diff bw above solution and this one
This Ques might be asked before on this forum , but i couldnt find in blogs,

I would be gratefull if some one can give a hint?/

Regards

-- 
zealist@gmail.com

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:32 ARST