09-21-2010 02:17 AM - edited 03-04-2019 09:50 AM
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
09-21-2010 03:16 PM
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.
09-28-2010 12:16 AM
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
09-28-2010 01:05 AM
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
09-28-2010 02:39 AM
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"
09-28-2010 02:59 AM
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
09-28-2010 03:04 AM
any solution having for applying for INPUT packet on same router.
Regards
Anil
09-28-2010 03:09 AM
you can police the traffic inbound but that will drop if the traffic exceed it rate..
Francisco.
09-28-2010 08:22 AM
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
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