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

Bandwidth policy on multiple ports

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

2 Accepted Solutions

Accepted Solutions

mfurnival
Level 4
Level 4

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.

View solution in original post

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

HTH

Rick

View solution in original post

8 Replies 8

mfurnival
Level 4
Level 4

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.

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

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.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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

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 !.

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

HTH

Rick

Thank you for the document, that is what I was looking for ..

regds

Martin

You are quite welcome. I am glad that my response was helpful. Thank you for the rating.

HTH

Rick

HTH

Rick
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:

Review Cisco Networking products for a $25 gift card