exceed-action policed-dscp-transmit (3560 switch port)

exceed-action policed-dscp-transmit

Must use ACCESS-LIST in class-map when doing this or will not match and/or remark or drop

mls qos map policed-dscp 0 to 46
mls qos
!
class-map match-all ICMP_CM
match access-group name ANY
!
policy-map ICMP_PM
class ICMP_CM
police 8000 8000 exceed-action policed-dscp-transmit
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
service-policy input ICMP_PM
!
ip access-list extended ANY
permit ip any any

SW2#sh mls qos maps policed-dscp
Policed-dscp map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
—————————————
0 : 46 01 02 03 04 05 06 07 08 09
1 : 10 11 12 13 14 15 16 17 18 19
2 : 20 21 22 23 24 25 26 27 28 29
3 : 30 31 32 33 34 35 36 37 38 39
4 : 40 41 42 43 44 45 46 47 48 49
5 : 50 51 52 53 54 55 56 57 58 59
6 : 60 61 62 63

THE SHOW service-policy interface command does not work either use ‘ show mls qos’ commands and look at dscp marking packet counts and IN/OUT of PROFILE:

SW2#sh mls qos interface g0/1 statistics
GigabitEthernet0/1

dscp: incoming
——————————-

0 – 4 : 95083 0 0 0 0
5 – 9 : 0 0 0 0 0
10 – 14 : 0 0 0 0 0
15 – 19 : 0 0 0 0 0
20 – 24 : 0 0 0 0 0
25 – 29 : 0 0 0 0 0
30 – 34 : 0 0 0 0 0
35 – 39 : 0 0 0 0 0
40 – 44 : 0 0 0 0 0
45 – 49 : 0 0 0 201 0
50 – 54 : 0 0 0 0 0
55 – 59 : 0 0 0 0 0
60 – 64 : 0 0 0 0
dscp: outgoing
——————————-

0 – 4 : 47321 0 0 0 0
5 – 9 : 0 0 0 0 0
10 – 14 : 0 0 0 0 0
15 – 19 : 0 0 0 0 0
20 – 24 : 0 0 0 0 0
25 – 29 : 0 0 0 0 0
30 – 34 : 0 0 0 0 0
35 – 39 : 0 0 0 0 0
40 – 44 : 0 0 0 0 0
45 – 49 : 0 0 0 200 0
50 – 54 : 0 0 0 0 0
55 – 59 : 0 0 0 0 0
60 – 64 : 0 0 0 0
cos: incoming
——————————-

0 – 4 : 96226 0 0 0 0
5 – 7 : 0 167 1945
cos: outgoing
——————————-

0 – 4 : 47323 0 0 0 0
5 – 7 : 0 16 185
Policer: Inprofile: 770 OutofProfile: 245757

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s