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

match (Security Source NAT)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
match {
    application {
        [application];
        any;
    }
    (destination-address <ip-address> | destination-address-name <address-name>);
    destination-port (port-or-low <to high>);
    protocol [protocol-name | protocol-number];
    source-address [ip-address];
    source-address-name [address-name];
    source-port (port-or-low <to high>);
}

Hierarchy Level

content_copy zoom_out_map
[edit security nat source rule-set rule-set-name rule rule-name]

Description

Specify the source rules to be used as match criteria.

Note:

If the options source-port, destination-port, and protocol are configured as match conditions, then you cannot also configure the application option as a match condition. The reverse is also true: if you configure the application option as a match condition for a rule, you cannot also configure the source-port, destination-port, and protocol options.

Options

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

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

Release Information

Statement modified in Junos OS Release 9.6. Statement modified in Junos OS Release 12.1X45-D10. Statement modified in Junos OS Release 12.1X47-D10.

footer-navigation