06-25-2007 01:27 AM - edited 03-03-2019 05:35 PM
I have a Cisco 3750 layer 3 switch. I want to limit the bandwidth to 1 Mbps on each port of switch. Can i do that & if yes then How ?
Please let me know
06-25-2007 01:45 AM
Friend,
You can use policing to limit the bandwidth.
Switch(config)# access-list 1 permit any
Switch(config)# class-map ipclass1
Switch(config-cmap)# match access-group 1
Switch(config-cmap)# exit
Switch(config)# policy-map flow1t
Switch(config-pmap)# class ipclass1
Switch(config-pmap-c)# police 1000000 8000 exceed-action drop
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# service-policy input flow1t
have a look at this link
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12225see/scg/swqos.htm#wp1044737
HTH, rate if it does
Narayan
06-25-2007 08:47 PM
Thanks a lot Sir,
I am able to control the input traffic on the port with about said configuration. But when I applly service-policy on output of port, it says that "Warning: Assigning a policy map to the output side of an interface not supported"
Please let me know how to apply service policy on output of port.
Thanks,
Sulekh Nain
06-25-2007 02:48 AM
Alternatively, you can do it over class-default, without using Access List.
eg:
policy-map LIMIT_1M
class class-default
police 1000000 8000 exceed-action drop
interface range gigabit 1/0/1 - 24
service-policy input LIMIT_1M
06-25-2007 08:48 PM
Thanks a lot Sir,
I am able to control the input traffic on the port with about said configuration. But when I apply service-policy on output of port, it says that "Warning: Assigning a policy map to the output side of an interface not supported"
Please let me know how to apply service policy on output of port.
Thanks,
Sulekh Nain
06-25-2007 05:36 AM
The easiest way is by using storm control.
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12235se/scg/swtrafc.htm#wp1063295
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: