Bandwidth Limitations

Unanswered Question
Sep 21st, 2010

Dear All,

I have to limit the 4 mbps bandwidth for IP base. like one IP use maximum 20 % and second one 40 % and rest of all are 40 %.

how we can achieve this ? can anyone help on this ?

we have cisco 2800 seies and 1800 series routers.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Phillip Remaker Tue, 09/21/2010 - 15:16

You want to use modular QoS.


You will set up 3 classes:  Base-1, Base-2, and Default (eveyone else) - These are the criteria to match the interesting addresses.

You will then set a policy for each of the 3 classes:  40% of the bandwidth to Base-1, 40% to Base-2, and 20% to default (the rest)

You will then apply the policy to an interface where you want the policy executed.

Search keywoards on the Cisco web site:  MQC (Modular QoS CLI), Modular QoS, class-map, policy-map.

anil.ks83 Tue, 09/28/2010 - 00:16

Dear Phillip,

Thanks for giving the solutions but when we aply the policy on Input interface we get error " Weighted Fair Queueing feature not supported in input policy."

please help on this.



Mahesh Gohil Tue, 09/28/2010 - 01:05

Hi amit,

Appreciate if you share your qos (class-map, policy-map) and interface config to better understand the problem

however as a short answer you can try using no fair-queue on interface config mode.

also share platform and IOS you are using for both router.



anil.ks83 Tue, 09/28/2010 - 02:39

Dear Mahesh,

I have tried after removing the fair-queue but no luck, configuration as follows:-

class-map match-all class1
match access-group 199

policy-map policy1
class class1
    bandwidth 300

Router(config)# interface F0/1

Router(config-if) # service-policy input policy1

FastEthernet0/1 is up, line protocol is up
  Hardware is Gt96k FE, address is 001e.beb6.a825 (bia 001e.beb6.a825)
  Description: "Sify Wireless internet Link"
  Internet address is X.X.X.X/30
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:30:57
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: Class-based queueing
  Output queue: 0/1000/0 (size/max total/drops)
  30 second input rate 217000 bits/sec, 58 packets/sec
  30 second output rate 88000 bits/sec, 61 packets/sec
     113005 packets input, 68754684 bytes
     Received 8 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     109933 packets output, 21595875 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

System image file is "flash:c1841-ipbasek9-mz.124-20.T1.bin"

francisco_1 Tue, 09/28/2010 - 02:59

On your router, queueing mechanism, can only be applied outbound. in a router, CBWFQ can be performed only on packets exiting the interface. When you try to enable the policy map with the service-policy input command, the router will give you an error message and not add the service-policy command to the configuration.


anil.ks83 Tue, 09/28/2010 - 03:04

any solution having for applying for INPUT packet on same router.



francisco_1 Tue, 09/28/2010 - 03:09

you can police the traffic inbound but that will drop if the traffic exceed it rate..


Phillip Remaker Tue, 09/28/2010 - 08:22

OK, so you are not SHAPING (output), but POLICING (input).

What is your goal of policing?  Do you want to DROP all traffic that exceeds that rate?  Do you want to MARK that traffic?  Do you want to queue it at a lower priority?

The problem with input policing is that the bandwidth between the transmitter and receiver is wasted since the packets are transmitted before they are dropped.  If you can shape at the uspstream router, that would be more effective.

Nevertheless, you should be able to set up policing policies for input.  "Bandwidth" is a shaping command.



This Discussion