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

port (Source NAT Next Gen Services)

date_range 14-Feb-24

Syntax

content_copy zoom_out_map
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;
        port-overloading-usage-alarm (raise-threshold | clear-threshold)                   
        enhanced-port-overloading-algorithm;
}

Hierarchy Level

content_copy zoom_out_map
[edit services nat source pool nat-pool-name]

Description

Configure port assignment for a source NAT pool. Port-overloading factor is configurable between 2 - 32

Through the raise-threshold option, you can raise threshold for alarm on port usage per overload index value through 50 to 100.

Through the clear-threshold option, you can clear threshold for alarm on port usage per overload index value through 40 to 100.

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.

The port-overloading-usage-alarm option added in Junos OS Release 23.4R1.

footer-navigation