11-27-2011 07:19 AM - edited 03-04-2019 02:25 PM
Dear Friends.. Good day ..
i have a requirement .. in which i have a router which is having a big pipe of bandwidth is coming .. and now i have to allocate the bandwidth - 128K very exact to one of our client... not very sure how i can do this and how i can make sure this is working correctly and can also show this to client about the bandwidth allocated to him
please read below point and correct me if m wrong ...
1. from client rack / switch .. pull a wire and put it into our switch which then connecte to WAN router - not connecting client LAN directly to router becoz of port usage .. dont want to give single client a dedicated port .. inturn planning of using VLAN and then terminate from switch to router LAN interface.
2. configure routing + NAT and ACL (if required)
3. .................? this is missing .. how can i allocate him specific bandwidth based on his subnet .this router will be having multiple clients like this .. with their own subnets
Please advice. and if you have some sample configuration please share if u can .Thanks for the help
Solved! Go to Solution.
11-29-2011 07:08 AM
Hi Jatinder,
CAR (rate-limit) will work similar to MQC police, it will allow you to rate traffic based on ACLs both in and out direction, here are some useful links:
http://www.cisco.com/en/US/docs/ios/12_0/qos/configuration/guide/qccar.html
Check "Rate Limiting by Access List Example".
http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800d7276.shtml
Regards.
11-29-2011 07:30 AM
To control the downloading as well as the uploading, this config should should work:
Access-list 100 permit ip any any
Class-map client1
Match access-group 100
Policy-map p1
Class client1
Police 128000
Int x/x
Service policy p1 in
service policy p1 out
11-29-2011 07:38 AM
Thanks Edison for the reply...!!!
i tried exactly the same and then i went to speedtest.net and it didnt worked for me ... one more thing .. i dont want to limit any specific traffic .. it will be for all kind of traffic . but its not working .. can you please help
happiness always
Jatin
11-29-2011 07:41 AM
Can you post your current config along with the 'show policy-map interface' output?
11-29-2011 07:53 AM
sure Edison will do but by tomorrow.. if you want to understand my scenario i can write it for you ...or if you have couple of minutes you can read this thread of mine ...
https://supportforums.cisco.com/message/3501606#3501606
my network is my first comment in this thread .. please read.. if there is smthign i need to do for my particular scenario please advice .. thanks again for the help....
main aim is not to give client more then 128 or less then 128... from the total wan pipe
11-29-2011 07:55 AM
I saw the thread but I need to see current configs and see if you are missing anything..
11-29-2011 08:09 AM
ok Edison .. will do it tomorrow morning ... (already end of day in my country)
i also read a command rate-limit which is per interface...? this can work in my scenario .. what exactly the difference.. if you can suggest
11-29-2011 12:07 PM
rate-limit is legacy QoS and I much rather use Modular QoS CLI (MQC) for new implementations.
11-30-2011 10:17 AM
hi Edison sorry for the late reply.. please find attachments there are 4 files
1. Router config
2. show policy-map interface
3. speed test - Withour QoS
4. speed test - Withour QoS
i tested the solution which you gave me but no success.. secondly there are two more problems ..
1. dont know my internet is working fine with all the other public ips on this configuration but for this configurations its not working .. connection gets disconnected with an error server not found
2. i dont want other users to use this 128 kb bandwidth.. means if the pipe is 1mb other subnets or people connecting from other interface should get 1mb - 128 kb. i think for this i need to make one more policy map which will be for the bandwidth 1mb-128 and then assign it to my fe 0/1
Please suggest/.... thansk for the help
04-15-2016 02:34 AM
class-map match-all Md_Area
match access-group 101
class-map match-all PDB
match access-group 103
class-map match-all GIS
match access-group 104
class-map match-all Main_office
match access-group 102
!
!
policy-map subnet
class Md_Area
police cir 3000000
conform-action transmit
exceed-action drop
class Main_office
police cir 3000000
conform-action transmit
exceed-action drop
class PDB
police cir 1000000
conform-action transmit
exceed-action drop
class GIS
police cir 2000000
conform-action transmit
exceed-action drop
Spintex_Office#sh policy-map interface
GigabitEthernet0/0
Service-policy input: subnet
Class-map: Md_Area (match-all)
3704 packets, 672028 bytes
5 minute offered rate 8000 bps, drop rate 0 bps
Match: access-group 101
police:
cir 3000000 bps, bc 93750 bytes
conformed 3704 packets, 672028 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 8000 bps, exceed 0 bps
Class-map: Main_office (match-all)
105170 packets, 10582398 bytes
5 minute offered rate 100000 bps, drop rate 0 bps
Match: access-group 102
police:
cir 3000000 bps, bc 93750 bytes
conformed 105127 packets, 10517724 bytes; actions:
transmit
exceeded 43 packets, 64674 bytes; actions:
drop
conformed 38000 bps, exceed 0 bps
Class-map: PDB (match-all)
111274 packets, 64140421 bytes
5 minute offered rate 805000 bps, drop rate 48000 bps
Match: access-group 103
police:
cir 1000000 bps, bc 31250 bytes
conformed 108919 packets, 60944294 bytes; actions:
transmit
exceeded 2357 packets, 3196307 bytes; actions:
drop
conformed 867000 bps, exceed 37000 bps
Class-map: GIS (match-all)
1092279 packets, 98808882 bytes
5 minute offered rate 1108000 bps, drop rate 0 bps
Match: access-group 104
police:
cir 2000000 bps, bc 62500 bytes
conformed 1090846 packets, 97608528 bytes; actions:
transmit
exceeded 1435 packets, 1200518 bytes; actions:
drop
conformed 1236000 bps, exceed 0 bps
Class-map: class-default (match-any)
3583116 packets, 5004096187 bytes
5 minute offered rate 57539000 bps, drop rate 0 bps
Match: any
Service-policy output: subnet
Class-map: Md_Area (match-all)
274 packets, 75462 bytes
5 minute offered rate 2000 bps, drop rate 0 bps
Match: access-group 101
police:
cir 3000000 bps, bc 93750 bytes
conformed 274 packets, 75600 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 2000 bps, exceed 0 bps
Class-map: Main_office (match-all)
7442 packets, 1506250 bytes
5 minute offered rate 18000 bps, drop rate 0 bps
Match: access-group 102
police:
cir 3000000 bps, bc 93750 bytes
conformed 7442 packets, 1506976 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 2000 bps, exceed 0 bps
Class-map: PDB (match-all)
181 packets, 29585 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 103
police:
cir 1000000 bps, bc 31250 bytes
conformed 181 packets, 33716 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
Class-map: GIS (match-all)
866130 packets, 53883268 bytes
5 minute offered rate 683000 bps, drop rate 0 bps
Match: access-group 104
police:
cir 2000000 bps, bc 62500 bytes
conformed 866131 packets, 53880540 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 779000 bps, exceed 0 bps
Class-map: class-default (match-any)
4059148 packets, 5172712383 bytes
5 minute offered rate 58916000 bps, drop rate 0 bps
Match: any
please Edision i did this configuration on my router but i m not sure that is correct or not
i would be grateful if you correct me
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: