cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2879
Views
0
Helpful
4
Replies

Packet size using ACL

victor_87
Level 1
Level 1

Hi,

Is there a way to catch packet size of a packet coming into an interface using an ACL. I don't need the exact packet size etc,  but packet above a certain MTU size may be blocked etc. so that i can see the counter increment.


Victor.

4 Replies 4

Tharak Abraham
Level 3
Level 3

Victor,

Dont think there is an option with ACL for packet length matching.

But you may match Values in IP Packet using ACL's

You may use route-maps to accomplish the same.

R1(config)#route-map new permit 10

R1(config-route-map)#match length 100 100 (matches 100 byte packets)
min and max length can be given which may suit your requirement.
Hope to help,

Does a route map work for Multicast traffic? thats what i need.

Victor.

Victor,

You may match the destination group using ACL and tie the ACL and the length of the packet under the route-map with logical "and".

That should do the job !

Hmm, that sounds like it but i dont think Route Maps work on Multicast groups. I am not exactly sure but remember reading that somewhere. I can just test this on my production device hence need to try and set this up in my lab and see how it works.

Let me know if you find something meanwhile.

Thanks.

Review Cisco Networking products for a $25 gift card