Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

flexible-match-ranges

Syntax

Hierarchy Level

Description

Configure multiple flex match ranges within the same term, allowing traffic to be filtered based on several criteria simultaneously. Supported for family inet, inet6 and ethernet-switching.

Note:

flexible-match-ranges and flexible-match-range cannot be configured in the same term.

Options

  • match-start — Start point to match in packet. payload match-start is not supported.

  • byte-offset — Byte offset after the match start point

  • bit-offset — Bit offset after the (match-start + byte) offset. (0..7)

  • bit-length —Length of the data to be matched in bits. (0..32)

  • range — Range of values to be matched.

  • flexible-range-name — Apply flexible-match template

The following example shows a configuration where flexible-match-ranges have been defined to match on multiple user-defined fields.

The following example shows a configuration where flexible-match-ranges have been defined using flex-match template to match on multiple user-defined fields.

Define the template

Apply template on flexible-match-ranges

View the configuration

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 25.4R1