cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
897
Views
0
Helpful
1
Replies

proper use of class-default

tato386
Level 6
Level 6

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

1 Reply 1

drolemc
Level 6
Level 6

Your configuration seems to be fine but it does not do much beyond setting the IP precedence level. YOu could also refer to http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800c75cf.html#1005901.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card