04-03-2019 03:20 AM
dears i have before cisco router 2921 and i am using inerface rate-limit
and i buy new isr4331 but i didnot find this rate-limit command also traffic shape
not available please give me asolutin to be used in this isr4331 to make rate-limit to interfaces and subinterfaces
04-03-2019 04:16 AM
Hello,
you can police or shape. Rate limiting is not available in XE as far as I recall. Below a generic example for policing and shaping.
What traffic do you want to limit ?
ISR431(config)# policy-map POLICE_PM
ISR4331(config-pmap)# class class-default
ISR4331(config-pmap-c)# police 8000 2000 4000 conform-action transmit exceed-action set-qos-transmit 4 violate-action drop
ISR4331(config)# policy-map SHAPE_PM
ISR4331(config-pmap)# class class-default
ISR4331(config-pmap-c)# shape average percent 25 be 300 ms bc 400 ms
04-03-2019 04:39 AM
04-03-2019 06:15 AM
dears
thank you alot for your support ..but i do like similar to this but when i apply in the subinterface it is accept as output only but when i apply as input not accepting see the error
ON(config-subif)#service-policy in guest
shape average command is not supported in input direction for this interface
Configuration failed on GigabitEthernet0/0/1.2
R(config-subif)#
*Apr 3 13:16:07.210: %QOS-6-POLICY_INST_FAILED: Service policy installation failed on GigabitEthernet0/0/1.2 policy:guest, dir:IN, ptype:, ctype:DEFAULT
04-03-2019 07:07 AM
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