cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
958
Views
0
Helpful
4
Replies

QoS question about an output on WS3560

luckyborn13
Level 1
Level 1

Hi guys,

what we have here it's a WS-C3560-24PS and what I can not figure out is what exactly means the last line of the above output -

Policer: Inprofile:        20891 OutofProfile:          364 ???

What means Inprofile and OutofProfile?

OutofProfile: Dropped Packets as an exceeding action of the policy or  packets which not match any access-list?

Inprofile?

I'm afraid that the servicepolicy does not work as expected.  If I try a videocall there are video buckings. If I rise the burst size  everything is okay, but what I expect it is a bandwidth for the videocall which is lower  than the existing configured bandwidth and burst size.
I'll appreciate any help or any hint if some of you wants to help us...

----

sh mls qos interface g0/3 statistics

GigabitEthernet0/3 (All statistics are in packets)

  dscp: incoming 

-------------------------------

  0 -  4 :       27653            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         8487 

25 - 29 :           0            0            0            0            0 

30 - 34 :           0            0            0            0            0 

35 - 39 :           0            0            0            0            0 

40 - 44 :       12159            0            0            0            0 

45 - 49 :           0            0            0            0            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 :        6887            0            0            0            0 

  5 -  9 :           0            0            0            0            0 

10 - 14 :           0            0            0            0            0 

15 - 19 :           0            0            0        20740            0 

20 - 24 :           0            0            0            0            0 

25 - 29 :           0            0            0            0            0 

30 - 34 :           0            0            0            0         5997 

35 - 39 :           0            0            0            0            0 

40 - 44 :         371            0            0            0            0 

45 - 49 :           0        13780            0         4675            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 :       48402            0            0            0            0 

  5 -  7 :           0            0            0 

  cos: outgoing

-------------------------------

  0 -  4 :        7121            0        20740            0         5997 

  5 -  7 :       14151         5103            0 

  output queues enqueued:

queue:    threshold1   threshold2   threshold3

-----------------------------------------------

queue 0:        5103       14151           0

queue 1:           0          23        6105

queue 2:           0        7159       20745

queue 3:           0           0         350

  output queues dropped:

queue:    threshold1   threshold2   threshold3

-----------------------------------------------

queue 0:           0           0           0

queue 1:           0           0           0

queue 2:           0           0           0

queue 3:           0           0           0

Policer: Inprofile:        20891 OutofProfile:          364

----

Cheers,

Luckyborn

4 Replies 4

You need to post your policy and some more details of what you are trying to achieve?

Andy

Hi Andy,

of course I'm going to do that.

Please, find below attached what I have as a configuration:

mls qos map policed-dscp  34 40 46 to 14

mls qos map cos-dscp 0 8 16 24 32 46 48 56

mls qos map ip-prec-dscp 0 8 16 24 32 46 48 56

mls qos srr-queue output cos-map queue 1 threshold 2 5

mls qos srr-queue output cos-map queue 1 threshold 3 6 7

mls qos srr-queue output cos-map queue 2 threshold 2 3

mls qos srr-queue output cos-map queue 2 threshold 3 4

mls qos srr-queue output cos-map queue 3 threshold 2 0

mls qos srr-queue output cos-map queue 3 threshold 3 2

mls qos srr-queue output cos-map queue 4 threshold 3 1

mls qos srr-queue output dscp-map queue 1 threshold 1 48 49 50 51 52 53 54 55

mls qos srr-queue output dscp-map queue 1 threshold 2 40 41 42 43 44 45 46 47

mls qos srr-queue output dscp-map queue 1 threshold 3 56 57 58 59 60 61 62 63

mls qos srr-queue output dscp-map queue 2 threshold 2 24 25 26 27 28 29 30 31

mls qos srr-queue output dscp-map queue 2 threshold 3 32 33 34 35 36 37 38 39

mls qos srr-queue output dscp-map queue 3 threshold 2 0 1 2 3 4 5 6 7

mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23

mls qos srr-queue output dscp-map queue 4 threshold 3 8 9 10 11 12 13 14 15

mls qos queue-set output 1 threshold 1 400 400 100 400

mls qos queue-set output 1 threshold 2 400 400 100 400

mls qos queue-set output 1 threshold 3 400 400 100 400

mls qos queue-set output 1 threshold 4 400 400 100 400

mls qos queue-set output 1 buffers 15 15 50 20

mls qos

!

class-map match-all data-high

  match access-group 122

class-map match-all prio0

  match access-group 126

class-map match-all data-low

  match access-group 121

class-map match-all video

  match access-group 124

class-map match-all streaming

  match access-group 123

class-map match-all signaling

  match access-group 125

!

policy-map mark-traffic

class data-low

   set ip dscp af13

class data-high

   set ip dscp af21

class streaming

   set ip dscp af31

class video

   set ip dscp af41

  police 1024000 8000 exceed-action drop

class signaling

   set ip dscp cs5

  police 32000 8000 exceed-action drop

class prio0

   set ip dscp ef

  police 1024000 8000 exceed-action drop

class class-default

   set ip dscp default

policy-map mark-traffic-server

class data-low

   set ip dscp af13

class data-high

   set ip dscp af21

class streaming

   set ip dscp af31

class video

   set ip dscp af41

class signaling

   set ip dscp cs5

class prio0

   set ip dscp ef

class class-default

   set ip dscp default

policy-map test

class data-low

   set ip dscp af13

class data-high

   set ip dscp af21

class streaming

   set ip dscp af31

class video

   set ip dscp af41

  police 1024000 8000 exceed-action drop

class signaling

   set ip dscp cs5

  police 32000 8000 exceed-action drop

class prio0

   set ip dscp ef

  police 1024000 8000 exceed-action drop

class class-default

   set ip dscp default

!

Thank you in advance!

Cheers,

Luckyborn

OK, so you have two policies (I assume the test policy is not permanent?).  I also assume the class 'video' in the 'mark-traffic' policy is where you are having issues?  You are attempting to police this class at 1Mbps and you are seeing drops?

The burst size is the depth of the token bucket in bytes (as opposed to the rate that is configured as bits-per-second).

What to configure the burst size to be seems to be an area of confusion and to be honest it confuses me..  Burst size on routers was always configured using the formula Bc = [(CIR / 8) * 1.5], but this is not relevant for calculating the burst size on the 3560 and how you calculate it depends... 

Some info here - http://slaptijack.com/networking/inbound-rate-limiting-on-cisco-catalyst-switches/

and here - http://blog.ipexpert.com/2010/05/26/introduction-to-catalyst-3560-qos/

Andy

Hi Andy,

many thanks for your help !

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: