Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

policing on 6K

I want to limit the rate of a port , in RJ45 card, from 100MB to any rate i want.

But it does not work, here is my configuration :

say i want to limit the port 3/25 to 1M, with the burst 13.

set qos policer aggregate 1MB_rate rate 1000 burst 13 policed-dscp drop

set qos acl ip_flow dscp 0 aggregate 1MB_rate any

commit qos acl all

set qos map ip_flow 3/25

what is the problem in this ?

any advice will be appreciated.

2 REPLIES

Re: policing on 6K

Have you set you port QoS to be port based and not VLAN based.. the sh port Qos will be able to tell you..

Regards

Re: policing on 6K

I was playing with your config and it worked okay...

Using traffic generators and some Mcast streams the following was visible..

sh qos policer run all

Warning: Runtime information may differ from user configured setting due to hardware

granularity.

QoS microflow policers:

QoS aggregate policers:

Aggregate name Avg. rate (kbps) Burst size (kb) Exceed action

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

udp_1mbps 992 13 drop

ACL attached

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

udp_qos_port

This was associated to the following ACL:

sh qos acl info run all

set qos acl IP udp_qos_port

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

1. dscp 0 aggregate udp_1mbps udp any any

Then attached to the port (Trunk port):

sh port qos 1/1

QoS is enabled for the switch.

QoS policy source for the switch set to local.

Port Interface Type Interface Type Policy Source Policy Source

config runtime config runtime

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

1/1 port-based port-based COPS local

Port TxPort Type RxPort Type Trust Type Trust Type Def CoS Def CoS

config runtime config runtime

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

1/1 1p2q2t 1p1q4t untrusted untrusted 0 0

(*)Runtime trust type set to untrusted.

Config:

Port ACL name Type

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

1/1 udp_qos_port IP

Runtime:

Port ACL name Type

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

1/1 udp_qos_port IP

On a trunk configured for port-based QoS, traffic in all VLANs received through the port is compared to any named ACLs attached to the port.

The following was the outcome when generating a stream of traffic towards the switch:

sh qos stati l3

Packets dropped due to policing: 14767

IP packets with ToS changed: 88025

IP packets with CoS changed: 0

Non-IP packets with CoS changed: 0

97
Views
0
Helpful
2
Replies
CreatePlease to create content