cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1255
Views
0
Helpful
3
Replies

Cisco police command to reserve bandwidth

cssam
Level 1
Level 1

    hi,

I want to configure police command in Qos to reserve bandwidth since bandwidth command not supported in my linecard.

Requirement is police command has to reserve bandwidth, if exceeding  bandwidth reservation it should go to class default.

1 Accepted Solution

Accepted Solutions

Hello,

Not sure about this.

But i can see that there are additional options in rate command . like you can define values as packets as well as bps.

Hope this helps

Regards

Mahesh

View solution in original post

3 Replies 3

Mahesh Gohil
Level 7
Level 7

Hello,

Please find config

class-map PRIORITY

match ip precedence 5 <<<< this is just an example you can change value/or call access-list

let's assume you have 2mb pipe and you want to reserve 512k

policy-map PRIORITY

class-map PRIORITY

police cir 512000 96000 192000 conform-action transmit exceed-action set-prec-transmit 0

class-map class-default

police cir  1536000 288000 576000 conform-action transmit exceed-action drop

policy-map PARENT

police cir  2048000 384000 768000 conform-action transmit exceed-action drop

above (parent) ensure that if priority class is not using bandwidth it will be used by class-default class

Regards

Mahesh

thanks mahesh,

Just to confirm as mentioned below, if bandwdith exceeding 512 kbps, will it go to class default?

Can i use police rate instead of cir..

Hello,

Not sure about this.

But i can see that there are additional options in rate command . like you can define values as packets as well as bps.

Hope this helps

Regards

Mahesh

Review Cisco Networking for a $25 gift card