Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

bandwidth limit on L2 swtich

 

 

HI,

 

I have a layer 2 3560 swtich.I want to limit bandwidth on on port int fast 0/0 to 10 MB and  int fat 0/10 to 30 MB

 

Can i do this in L2 port

 

thanks

1 REPLY
Cisco Employee

The 3750 is a layer 3 switch.

The 3750 is a layer 3 switch. It does support policing. You can do limiting on the interface.

you can use the quick and dirty srr-queue bandwidth limit command.

Limits bandwidth to a percentage of port speed. ONLY works on outbound traffic.
Example:
interface fa0/1
speed 100
srr-queue bandwidth limit 10
This example would yield a 10mbps rate-limit.

or

interface fa0/1
speed 10
srr-queue bandwidth limit 30
This example would yieled a 3mbps rate-limit.
Keep in mind this only works on traffic outbound from the port.

2) Second way;
policy-map ratelimit-policy
class limitclass
    police 772 kbps 56 kbyte conform-action transmit exceed-action drop

interface GigabitEthernet4/47
switchport access vlan 503
bandwidth 30000
load-interval 60
speed 100
duplex full
spanning-tree portfast
spanning-tree bpduguard enable
service-policy output ratelimit-policy
end

HTH

54
Views
0
Helpful
1
Replies
CreatePlease login to create content