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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

QoS Service-policy imput with Classmap bandwidth not supported

We are trying to create a policy map on a GSR12016 with IOS version Version 12.0(26) S1

It is working working with Service-policy output command but when we issue service-poilcy input it doesn?t accept the command and it says as invalid.

Please advice


class-map match-all JAZ-IP

match access-group 22



policy-map TEST

class JAZ-IP

bandwidth 1000


Colossus (config-if) #service-policy input TEST

% bandwidth is invalid command in input policy.

Colossus (config-if) #service-policy output TEST

interface POS4/1

#other config trunkated#

service-policy output TEST


Re: QoS Service-policy imput with Classmap bandwidth not support

I guess it would depend on what you are trying to accomplish.

Bandwidth is used to guaranty traffic a minimum amount of the connection. On a inbound interface you have no control over the rates traffic is sent to your router or who is sending it. Your only options inbound is to drop the traffic or forward it. You can only sorta reserve bandwidth inbound. For example say you want to reserve 10meg of bandwidth on a 100m port for a application. You would POLICE all other traffic to 90m which would leave 10m unused. The problem gets even more complex when you want to have multiple reservation inbound. The biggest difference is that on the outbound side if the traffic does not need its reserved bandwidth other traffic can use it.

The only supported method for traffic control inbound is policing. In general you want to try to do your QoS outbound since the router has many more features when it has the option to buffer the data if needed.

Re: QoS Service-policy imput with Classmap bandwidth not support


to rephrase the previous post - quick and dirty ;-)

"bandwidth" is used to specify queueing behaviour, but on input you have no queueing system. This is why the command would be useless and is not accepted.

Regards, Martin