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

source-nat

date_range 13-May-24

Syntax

content_copy zoom_out_map
source-nat {
    interface {
        persistent-nat {
            address-mapping;
            inactivity-timeout seconds;
            max-session-number value;
            permit (any-remote-host | target-host | target-host-port);
        }
    }
    off;
    pool <pool-name>;
         persistent-nat {
             address-mapping;
            inactivity-timeout seconds;
            max-session-number number;
            permit (any-remote-host | target-host | target-host-port);
    }
    rule-session-count-alarm (clear-threshold value | raise-threshold value);
}

Hierarchy Level

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

Description

Specify the action of the source NAT rule.

Options

  • off—Do not perform the source NAT operation.

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.

footer-navigation