automatic (Source NAT Next Gen Services)
Syntax
automatic (random-allocation | round-robin);
Hierarchy Level
[edit services nat source pool nat-pool-name port]
Description
Configure automatic port assignment for source NAT with port translation, except for deterministic NAT. Automatic port assignment uses the port range 1024 through 65535. Specify either random allocation or round-robin allocation. Random allocation randomly assigns a port from the range 1024 through 65535 for each port translation. Round robin allocation first assigns port 1024, and uses the next higher port for each successive port assignment. Round robin allocation is the default.
Options
random-allocation | Randomly assigns a port from the range 1024 through 65535 for each port translation. |
round-robin | First assigns port 1024, and uses the next higher port for each successive port assignment. Round robin allocation is the default. |
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.