Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

range (Source NAT Next Gen Services)

Syntax

Hierarchy Level

Description

To configure a range of ports to assign to a pool, specify the low and high values for the port. If you do not configure automatic port assignment, you must configure a range of ports. This statement applies to source NAT with port translation, but not to deterministic NAT.

If you specify a range, ports are selected a round-robin fashion. If you specify a range of ports to assign, the automatic statement is ignored.

Options

port-low

Lowest port number.

port-high

Highest port number.

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.