04-19-2013 06:59 AM - edited 03-04-2019 07:39 PM
Hi,
I currently have an 3825 with only two ports.
This 3825 is connected to a fiber connection and makes an PPPoE connection for the subnet I got.
The second port is one of the ip addressess that I got assigned.
I want to control the bandwidth per ip address on this router.
How can I do that ?
Policy I normaly can set per port, but in this case all traffic goes over this port.
Is there a network module that supports policy based on bandwidth ?
I have a 9 port now but apparently it only supports TOS,.
Any ideas ?
Martin
Solved! Go to Solution.
04-19-2013 07:19 AM
You could write a policy-map to match on IP address and assign bandwidth this way. Something like:
class-map user1
match access-group 1
class-map user2
match access-group 2
policy-map BANDWIDTH-LIMIT
class user1
bandwidth 1000
class user2
bandwidth 500
access-list 1 permit 192.168.1.1 0.0.0.0
access-list 2 permit 192.168.1.2 0.0.0.0
You would then apply this service policy to your WAN interface. It is not very scalable though and it relies on you having static IP addresses assigned to your users.
07-01-2013 05:30 AM
As was mentioned in the original response you would use the service-policy command to apply the policy map to the outbound interface. You may want to look into this link for additional information.
http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfmcli2.html#wp1021794
HTH
Rick
04-19-2013 07:19 AM
You could write a policy-map to match on IP address and assign bandwidth this way. Something like:
class-map user1
match access-group 1
class-map user2
match access-group 2
policy-map BANDWIDTH-LIMIT
class user1
bandwidth 1000
class user2
bandwidth 500
access-list 1 permit 192.168.1.1 0.0.0.0
access-list 2 permit 192.168.1.2 0.0.0.0
You would then apply this service policy to your WAN interface. It is not very scalable though and it relies on you having static IP addresses assigned to your users.
04-19-2013 10:55 AM
This solves my issue.
The ip addresses behind are all static, so with the user and access list I can then also limit it.
Thnx
Martin
04-19-2013 07:29 AM
Hello
Can you clarify a few things -
You can classify on mac/host address or even on markings from each host.
What is it you wish to do?
Police ( meaning provides a given value and not let this host exceed or
Assign a % of bw which is adhered to when congestion is occurring?
res
Paul
Please don't forget to rate any posts that have been helpful.
Thanks.
04-19-2013 10:56 AM
Thank you for your reply, but the previous answer is exactly what I was looking for but could not find before.
Thank all for your help
Martin
07-01-2013 05:18 AM
Hi,
I am missing the last step.
How to apply the policy to the interface that it allows per static ip a limit.
I did the above, but missing one step to apply to the interface.
All info i find is for all data. not for one specific.
class-map user1
match access-group 1
class-map user2
match access-group 2
policy-map BANDWIDTH-LIMIT
class user1
shape peak 47000000
class user2
shape peak 47000000
access-list 1 permit 192.168.1.1 0.0.0.0
access-list 2 permit 192.168.1.2 0.0.0.0
this should limit per ip address the peak at 5Mbps but how to apply to one interface !.
07-01-2013 05:30 AM
As was mentioned in the original response you would use the service-policy command to apply the policy map to the outbound interface. You may want to look into this link for additional information.
http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfmcli2.html#wp1021794
HTH
Rick
07-01-2013 05:38 AM
Thank you for the document, that is what I was looking for ..
regds
Martin
07-01-2013 05:40 AM
You are quite welcome. I am glad that my response was helpful. Thank you for the rating.
HTH
Rick
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