cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
465
Views
0
Helpful
2
Replies

Rate-limiting traffic

nawas
Level 4
Level 4

I'm trying to rate limit  traffic on vlan1 for less than 1 mb. I use the following config and tried to
push upto 6mb with the hope that higher than 1 mb will be dropped but it didn't happen in my case.
when I do show int vlan 1 rate-limit I don't see anyting exceed or dropped. What am I doing wrong?
I'm trying this on on Cisco 3560 with 12.2.52.

Switch#show int vlan 1 rate-limit
Vlan1
  Input
    matches: access-group 101
      params:  8000 bps, 1500 limit, 2000 extended limit
      conformed 0 packets, 0 bytes; action: drop
      exceeded 0 packets, 0 bytes; action: drop
      last packet: 858339ms ago, current burst: 0 bytes
      last cleared 00:01:15 ago, conformed 0 bps, exceeded 0 bps

My config looks like this- this is a lab set up and i can try any suggestion
access-list 101 permit ip any any
interface vlan 1
rate-limit input access-group 101 8000 1500 2000 conform-action drop exceed-action drop
I have also tried
interface vlan 1
rate-limit input access-group 101 8000 1500 2000 conform-action transmit exceed-action drop

2 Replies 2

LucaSalvatore_2
Level 1
Level 1

Try to use a class map, policy map and then police the data down to a specified rate

Lei Tian
Cisco Employee
Cisco Employee
Review Cisco Networking products for a $25 gift card