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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to limit the bandwidth on cisco 2950 switch ethernet per port?

Status
Not open for further replies.

parazhang

MIS
May 13, 2003
42
0
0
US
I have a cisco Catalyst 2950-24 switch,and I want to limit the port bandwidth,such as,a user connect to port 3 on the switch,and i want set 2M bandwidth to him,how should i do? thanx!
 
Have you got the Enhanced Image (EI) software installed? If you've just got the standard image (SI) then you wont be able to do it.

An example of how you would do it on an EI 2950 is as follows,

access-list 1 permit x.x.x.x -(address of host or network to be rate limited)

class-map example - create a class map

match access-group 1 - match traffic via access list

policy-map examplepolicy - create a policy map

class example - specify the class

set ip dscp 46 - match traffic in access list to dscp 46

police 2000000 0 exceed-action drop - set rate to 2mpb with no burst, drop on exceed.

service-policy input examplepolicy - apply to relevent ethernet interface
 
thank you very much,and btw,how can I get the Enhanced Image(EI)?thanx again.

best regards!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top