Name

match packet length — class-map

Synopsis

match packet length max value min value
no match packet length max value min value

Configures

QoS class map match line

Default

None

Description

This command tells the class-map to match the layer 3 packet length in the IP header of the packet. You can specify a min value, a max value, or both. If a minimum value is supplied, only packets with a value greater than the minimum are matched. If only a maximum value is supplied, only packets less than the maximum are matched. If both a minimum and maximum are supplied, packets must be within that range in order to be matched.

Valid values for both minimum and maximum are from 1 to 2,000.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.