10-31-2006 01:32 AM - edited 03-05-2019 12:32 PM
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
10-31-2006 05:40 AM
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.
10-31-2006 06:34 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide