cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3373
Views
40
Helpful
16
Replies

QOS police vs bandwidth - is this configuration wrong?

SJ K
Level 5
Level 5

Hi all,

 

I understand bandwidth in QOS is use to guarantee a minimum bandwidth

I understand police in QOS is to set a limit to the maximum bandwidth.

class test_out
  police 1608000 50000 100000 conform-action set-dscp-transmit af31 exceed-action set-dscp-transmit af32 violate-action set-dscp-transmit 28
  bandwidth 2542
  random-detect dscp-based
  random-detect exponential-weighting-constant 7
  random-detect dscp 26 50 80 10
  random-detect dscp 28 15 40 5

Is this a single-rate 3 color configuration ?

 

Can someone tell me if the above configuration is self defeating ?

I have a guarantee bandwidth of 2542Kb, but traffic is being police at 1608000 bits = 1570Kb

 

Regards,

Noob

16 Replies 16

Cannot say what's better - again, much depends on what other network devices are doing. However, even if you mark all traffic alike, such as marking BE, that's doesn't truly guarantee all traffic will be treated alike. ToS markings are a shortcut for traffic type identification, but QoS treatment can be performed based on other attributes, such as source or destination IPs, IP protocol, TCP/UDP ports, etc.

Joseph W. Doherty
Hall of Fame
Hall of Fame
"is this configuration wrong? "

"Wrong" depends on what's intended to be accomplished, isn't. Although you didn't ask about it, I often recommend against using WRED unless you're a QoS expert.
Review Cisco Networking for a $25 gift card