cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
472
Views
0
Helpful
2
Replies

QoS Service-policy imput with Classmap bandwidth not supported

ibby_1976
Level 1
Level 1

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

2 Replies 2

tdrais
Level 7
Level 7

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.

Hi,

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card