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

Release Information

Statement introduced in Junos OS Release 19.3R2 on MX Series routers (MX240, MX480 and MX960) running Next Gen Services with the MX-SPC3 services card.

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-lowLowest port number.
port-highHighest port number.
random-allocationRandomly assigns a port from the range 1024 through 65535 for each port translation.
round-robinFirst 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.