[c-nsp] Needs some help with QOS
John Lange
john at johnlange.ca
Tue Mar 24 15:39:19 EDT 2009
On Tue, 2009-03-24 at 13:29 +0100, BALLA Attila wrote:
> Hi,
>
> you should use hierarchical QoS. First of all you should shape the
> output traffic down to the upstream speed, then you can use the llq inside
> the shaped class:
> http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800b2d29.shtml
>
I followed the examples on that page but I'm not having any luck. As far
as I can tell the queue is dropping at least some packets that it should
be prioritizing (look for 582 below).
First, here is what i have in my config, and below that is the results
of "show policy-map interface". As a side question, the file copy now
seems to work much differently in that it does a big "burst" at the
start of the copy and then "stalls". Is this a burst while the packet
queue fills up?
--- config ---
class-map match-all cm-qos1
match access-group name al-qos1
policy-map parent_shaping
class class-default
shape average 128000
service-policy child_queueing
policy-map child_queueing
class cm-qos1
priority percent 70
interface FastEthernet4
service-policy output parent_shaping
ip access-list extended al-qos1
permit ip host xxx.xxx.xxx.xxx any
permit ip any host xxx.xxx.xxx.xxx
----========-----
l#show policy-map interface
FastEthernet4
Service-policy output: parent_shaping
Class-map: class-default (match-any)
157430 packets, 69675635 bytes
5 minute offered rate 150000 bps, drop rate 25000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 47/618/0
(pkts output/bytes output) 15633/18270484
shape (average) cir 128000, bc 512, be 512
target shape rate 128000
Service-policy : child_queueing
queue stats for all priority classes:
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/582/0
(pkts output/bytes output) 3228/2120973
Class-map: cm-qos1 (match-all)
3810 packets, 2978841 bytes
5 minute offered rate 71000 bps, drop rate 25000 bps
Match: access-group name al-qos1
Priority: 70% (89 kbps), burst bytes 2200, b/w exceed drops: 582
Class-map: class-default (match-any)
12441 packets, 16201283 bytes
5 minute offered rate 69000 bps, drop rate 0 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 46/36/0
(pkts output/bytes output) 12405/16149511
-
John Lange
http://www.johnlange.ca
More information about the cisco-nsp
mailing list