cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
351
Views
0
Helpful
10
Replies

QOS police And shape On ASR Device Not working

Hi I used this Steps for qos trffic ip range 192.168.0.0/24

But not working

 

1- Define Extended ACL if Shape all traffic define ip


show ip access-lists speed
Extended IP access list speed
199 permit ip any 192.168.0.0 0.0.0.255

2- define class map match by ACL
Class Map match-all speed
Match access-group name speed


Define class map speed and math by ACL Speed


3-Define Policy Map This policy For 100Mbps


show policy-map speed
Policy Map speed
Class speed
police cir 100000000 bc 1875000 be 3750000
conform-action transmit
exceed-action drop
violate-action drop

4-Assig policy to Inteface  limited Output interface

interface Port-channel6.241

service-policy input speed

IF used any any you can apply for input or oupput traffic

10 Replies 10

Joseph W. Doherty
Hall of Fame
Hall of Fame

"QOS police And shape On ASR Device Not working"

Okay, and how not working?

"IF used any any you can apply for input or oupput traffic"

And so?

"police cir 100000000 bc 1875000 be 3750000"

Did you manually set Bc/Be?  What's the physical interface speed?

"4-Assig policy to Inteface  limited Output interface

interface Port-channel6.241

service-policy input speed"

"limited output" and "input"?

Hi is set autmomaticlly port-channel is 30Gbps

this is 100Mbps limited i assign to input off vlan 241 speed test server and test this for shaping traffic

I aloso tested for output not working pot-channel 6.241 is L3 interface

posting relevant portions of the configs and interface service policy stats would be helpful.

Tested Result

1.png

 

show ip interface brif

Port-channel6 unassigned YES unset up up
Port-channel6.241 192.168.0.1 YES NVRAM up up
Port-channel6.294 172.18.19.14 YES NVRAM up up
Port-channel6.295 172.18.22.2 YES NVRAM up up
Port-channel6.296 172.18.20.45 YES NVRAM up up

 

Show run inteface Port-channel6.241

interface Port-channel6.241
description Server-Speed-TEST
encapsulation dot1Q 241
ip address 192.168.0.1 255.255.255.0
service-policy output ramin
end

 

 

This is inteface is Gateway of server

Show policy-map


Policy Map ramin
Class ramin
police cir 100000000 bc 3125000 be 3125000
conform-action transmit
exceed-action drop
violate-action drop

 

Not Working

 

 

And, the previously asked for, service policy interface stats?

Port-channel6.241

Service-policy output: ramin

Service policy ramin is in suspended mode

This is for port-channel ?

I change LACP mode and used this this

Now police-map is not suspend mode nut average mode is 5Minutes i need shape asr router immediatelly

Port-channel6.241

Service-policy output: ramin

Class-map: ramin (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ramin
Queueing
queue limit 416 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
shape (peak) cir 100000000, bc 400000, be 400000
target shape rate 200000000

Class-map: class-default (match-any)
1558312 packets, 1963443211 bytes
5 minute offered rate 49980000 bps, drop rate 0000 bps
Match: any

queue limit 41666 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 1558312/1963443211

How decrease shape Average ???

I change load interval of interface to min of value but donnot queue

and change conform-action drop

Donnot pass to bc and

Class-map: ramin (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ramin
police:
cir 50000000 bps, bc 20000000 bytes, be 20000000 bytes
conformed 0 packets, 0 bytes; actions:
drop
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps, violated 0000 bps

Class-map: class-default (match-any)
10829339 packets, 13787313759 bytes
30 second offered rate 279885000 bps, drop rate 0000 bps
Match: any

"I change load interval of interface to min of value but donnot queue"

Load interval doesn't control shaping or policing.  That's controlled by configured rate and Bc/Be.

From your stats, it appears no traffic is matching the ramin class.

Review Cisco Networking for a $25 gift card