pool (NAT)
Syntax
pool nat-pool-name { address ip-prefix</prefix-length>; address-allocation round-robin; address-range low minimum-value high maximum-value; app- mapping-timeout app-mapping-timeout; ei-mapping-timeout ei-mapping-timeout; limit-ports-per-address number; mapping-timeout mapping-timeout; pgcp { hint [ hint-strings ]; ports-per-session ports; remotely-controlled: } port { automatic (sequential | random-allocation); range low minimum-value high maximum-value random-allocation; preserve-parity; preserve-range; secured-port-block-allocation { active-block-timeout timeout-seconds; block-size block-size; max-blocks-per-user max-blocks; } } }
Hierarchy Level
[edit services nat]
Description
Specify the NAT name and properties.
Options
nat-pool-name
—Identifier for the NAT address pool.
The remaining statements are explained separately. See CLI Explorer.
If you make any configuration changes to a NAT pool that has secured port block allocation configured, you must deactivate the service set first, do required pool attribute changes, and activate the service set. We also strongly recommend that you perform this procedure if you make any changes to the NAT pool configuration, even when secured port block allocation is not configured.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
pgcp
statement added in Junos OS Release 8.4.
remotely-controlled
and ports-per-session
statements added in Junos OS Release 8.5.
hint
statement added in Junos OS Release 9.0.
address-allocation
statement added in Junos OS Release
11.2.
sequential
statement introduced in Junos OS Release
14.2.