cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2218
Views
0
Helpful
8
Replies

Bandwidth Limitations

anil.ks83
Level 1
Level 1

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.

Regards

Anil

8 Replies 8

Phillip Remaker
Cisco Employee
Cisco Employee

You want to use modular QoS.

See http://www.cisco.com/en/US/technologies/tk543/tk545/technologies_white_paper09186a0080123415_ps6558_Products_White_Paper.html

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.

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.

Regards

Anil

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.

Regards

Mahesh

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"

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.

Francisco

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

Regards

Anil

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

Francisco.

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.

Consider: http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800a3a25.shtml

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: