pool (Source NAT Next Gen Services)
Syntax
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
[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.
Statement introduced in Junos OS Release 25.2R1 on MX304, MX10004, and MX10008 (with LC9600 line card).