cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2253
Views
1
Helpful
2
Replies

Rate limit UDP traffic on a single switch port

ryderse69
Level 1
Level 1

I need to rate limit UDP traffic on a port without affecting other traffic. 

Would the below work or would this drop all other non-UDP traffic? 

I could just change the ACL to IP ANY ANY but I would prefer to limit just UDP traffic. 

 

mls qos

access-list 150 permit udp any any

 

class-map UDP_Traffic
  match access 150

policy-map Control
 class UDP_Traffic
  police 10000000 60000 exceed-action drop

int fa0/1
 service-policy input Control

 

1 Accepted Solution

Accepted Solutions

Your config is ok. There is one class map called class-default in each policy that grabs all the remaining traffic. So you will not drop non-udp traffic.

View solution in original post

2 Replies 2

Your config is ok. There is one class map called class-default in each policy that grabs all the remaining traffic. So you will not drop non-udp traffic.

Sweet! 

I was not certain about that but had a feeling that was the case. 

Review Cisco Networking products for a $25 gift card