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

pool (Source NAT Next Gen Services)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
pool nat-pool-name {
    address address-prefix | address address-prefix to address address-prefix;
    address-pooling {
    }
    ei-mapping-timeout ei-mapping-timeout;
    host-address-base ip-address;
    mapping-timeout mapping-timeout;
    pool-utilization-alarm {
        clear-threshold value;
        raise-threshold value;
    }
    port {
        automatic (random-allocation | round-robin);
        block-allocation {
            active-block-timeout timeout-interval;
            block-size block-size;
            interim-logging-interval timeout-interval;
            maximum-blocks-per-host maximum-block-number
        }
        deterministic {
            block-size block-size;
            host {
                address address;
            }
            include-boundary-addresses;
        }
        deterministic-nat-configuration-log-interval seconds;
        no-translation;
        preserve-range;
        preserve-parity;
        range {
            port-low to port-high;
            (random-allocation | round-robin);
        }
        port-overloading-factor value;                   
        enhanced-port-overloading-algorithm;
    }    
}

Hierarchy Level

content_copy zoom_out_map
[edit services nat source]

Description

Configure a set of addresses (or prefixes), address ranges, and ports used for Network Address Translation (NAT) of source addresses. Port-overloading factor is configurable between 2 - 32.

Options

nat-pool-name

Name of the NAT pool.

If you are configuring twice NAT, do not use the same name that you use for the destination pool.

The remaining statements are explained separately. See CLI Explorer.

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 Release 19.3R2.

footer-navigation