Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bandwidth restriction on router 1

Status
Not open for further replies.

myhanp

IS-IT--Management
Jul 26, 2006
8
A2
Hi Everyone,

I want to give bandwidth to my client through fasethernet interface and restrict my client to dedicated bandwidth of 256 up and 512 down.

Cheers,

-Aslam
 
Thanks for the link but does it do provide exact bandwidth provision or it merely restricts the bandwidth actually my client requires dedicated bandwidth so if anyone has had such a experience please share it .

Cheers,

-Aslam
 
So, are you saying you have a bunch of people behind this router, and you want to guarantee that this one person always has 256 up and 512 down, while the others get whatever is left over?
 
with the policies you can use the "bandwidth" statement and "reserve" bandwidth for a client.. you can reserve in kb or in %

that in addition to the police statements would both guarantee and cap the bandwidth.

it would be modular too as you could create several classes of service and attach them to your interfaces as required.
 
Thanks and do you have sort of example config for the "bandwidth and reserve bandwidth" statements ?

Cheers,
-Aslam

 
i have not used it this way before... but i think this would work. youll have to try it out.
so in the policies.. the bandwidth statement will reserve whatever number you put there... and the police statements will not allow it to exceed.

you can see the policy counters by running the command
sh pol int fa0/0 (whichever interface its applied to)

class-map match-any 512k_Customer
match access-group (access-list that allows customer subnet)
class-map match-any 256k_Customer
match access-group (access-list that allows customer subnet)!
policy-map 512K
class 512k_Customer
bandwidth 512
police cir 512000
conform-action transmit
exceed-action drop
policy-map 256K
class 256k_Customer
bandwidth 256
police cir 256000
conform-action transmit
exceed-action drop


int fa0/0 (whatever your client interface is)
description 256 up and 512 down
service-policy input 256k
service-policy output 512k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top