cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1142
Views
0
Helpful
5
Replies

Shape average

gbonset028
Level 1
Level 1

Hello,

I have a C881-k9 with two vlan's, one for voip and one for common internet.

The router is connected to a 30Mbit line and i want to use 2Mbit for voip.

I have configured the policy-map custom-shaper-2000kbps with a shape avarage of 1880000

In the interface vlan2 (voip) i used the command service-policy output custom-shaper-2000kbps

On interface Fastethernet3 i used switchport access vlan2

When i connect a Phone it will registrate on the SBC (all goes well), but when i do a speedtest on it (with a laptop connected to it) it gives 30Mbit.

How come since i configured it for 2Mbit ????

I hope somebody from Cisco will reply to this:

Why does the custom shaper does not work with this image: c880data-universalk9-mz.150-1.M7

1 Accepted Solution

Accepted Solutions

Hello Gbonset028,

it looks like your C881 is not implementing QoS service policy of any kind.

You may consider an IOS upgrade at this point.

Edit:

the command bandwidth in CBWFQ does not provide an upper limit to the bandwidth used by a traffic class because the resource management is elastic, it can use available BW if any. However, with the previous general shaper the traffic should have been limited to 2 Mbps out of Fas1 and this doesn't happen.

Try the shaper policy directly on Fas1, if even this does not work consider an IOS upgrade.

Hope to help

Giuseppe

View solution in original post

5 Replies 5

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Gbonset028,

post the policy configuration.Have you used any match condition in the service policy?

You have applied it to SVI vlan2 outbound.

And you say that if you connect a PC to port Fast3 and you perform a speed test you get the full 30 Mbps in downstream direction.

This is strange if your service policy has no match condition it should shape everything including the speed test traffic.

Have you tried to apply the service policy directly to Fas3?

Hope to help

Giuseppe

Hello Giuseppe,

i have the following:

Policy-map custom-shaper-2Mbit
class class-default
shape average 1880000

in the interface vlan2 i have:

service-policy output custom-shaper-2Mbit

in the interface fastethernet1 i have:

switchport access vlan 2

i thought i have it all

Hello Gbonset028,

yes your configuration looks like good.

I wonder if the service policy can be applied directly under fas1.

I would make this attempt just to see if there is any change in the behaviour of the device.

Hope to help

Giuseppe

Hello Giuseppe,

it came to my attention that the shape average is some kind of QoS.

For limiting the bandwidth i should use the command bandwith (am i right?)
So i have used the command: bandwith percent 5

Correct me if i'm wrong, i have a 30Mbit connection. Using 5%, means that i will use 1,5Mbit of the connection. I could use the server policy right under fas1, but with the speedtest it still gives 30/30

Hello Gbonset028,

it looks like your C881 is not implementing QoS service policy of any kind.

You may consider an IOS upgrade at this point.

Edit:

the command bandwidth in CBWFQ does not provide an upper limit to the bandwidth used by a traffic class because the resource management is elastic, it can use available BW if any. However, with the previous general shaper the traffic should have been limited to 2 Mbps out of Fas1 and this doesn't happen.

Try the shaper policy directly on Fas1, if even this does not work consider an IOS upgrade.

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card