match length data

This command defines the data length to match on the specified match-map. Use the no form of this command to remove a match data length.

Syntax

match length data <min data length> <max data length>

Command

Description

min data length

Defines the minimum data length in bytes to match.

max data length

Defines the maximum data length in bytes to match.

Default

NA

Command Mode

Privileged User

Examples:

This example configures the match-map to match traffic with data length between 40 to 150 bytes.

(conf-m-map)# match length data 40 150