cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1404
Views
0
Helpful
1
Replies

bandwidth limit on L2 swtich

Asim Afzal
Level 1
Level 1

 

 

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 1

InayathUlla Sharieff
Cisco Employee
Cisco Employee

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

Review Cisco Networking products for a $25 gift card