I want to classifify my traffic into three different IP precedence levels. I want one class set to level 7, one to level 6 and all other to level 0. Can somebody please verify the config I came up with to do this? My biggest concern is that I am using the class-default correctly in order to mark packets that don't fall into the 7 or 6 level category.
Thanks,
Diego
access-list 101 permit ip host 1.1.1.1 any
access-list 102 permit ip host 2.2.2.2 any
!
class-map match-all host1
match access-group 101
class-map match-all host2
match access-group 102
!
policy-map markpackets
class host1
set ip precedence 7
class host2
set ip precedence 6
class class-default
set ip precedence 0