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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Rate limit UDP traffic on a single switch port

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

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.

2 REPLIES

Your config is ok. There is

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.

New Member

Sweet! I was not certain

Sweet! 

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

704
Views
1
Helpful
2
Replies