Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

conditional-match

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
conditional-match name {
    offset1 {
        base-offset1 (start-of-L2Header | start-of-L3-InnerHeader | start-of-L3-OuterHeader | start-of-L4-Header);
        matchdata1 matchdata1;
        matchdata1-mask matchdata1-mask;
        offset1-value offset1-value;
    }
    offset2 {
        base-offset2 (start-of-L2Header | start-of-L3-InnerHeader | start-of-L3-OuterHeader | start-of-L4-Header);
        matchdata2 matchdata2;
        matchdata2-mask matchdata2-mask;
        offset2-value offset2-value;
    }
    offset3 {
        base-offset3 (start-of-L2Header | start-of-L3-InnerHeader | start-of-L3-OuterHeader | start-of-L4-Header);
        matchdata3 matchdata3;
        matchdata3-mask matchdata3-mask;
        offset3-value offset3-value;
    }
    offset4 {
        base-offset4 (start-of-L2Header | start-of-L3-InnerHeader | start-of-L3-OuterHeader | start-of-L4-Header);
        matchdata4 matchdata4;
        matchdata4-mask matchdata4-mask;
        offset4-value offset4-value;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options enhanced-hash-key]

Description

Configure selected bytes to be directly used for user-defined flex hashing or to be used only when the data pattern in these bytes matches with specific values (conditional match).

Options

name

Name identifier

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface

Release Information

Statement introduced in Junos OS Release 20.4R1.

footer-navigation