Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

port

Syntax

port (automatic | range low minimum-value high maximum-value random-allocation) {preserve-parity;preserve-range;deterministic-port-block-allocation <block-size block-size>;secured-port-block-allocation {active-block-timeout timeout-seconds;block-size block-size;max-blocks-per-user max-blocks;}}

Hierarchy Level

[editservices nat pool nat-pool-name]

Release Information

port statement introduced before Junos OS Release 7.4.

random-allocation statement introduced in Junos OS Release 9.3.

secured-port-block-allocation statement introduced in Junos OS Release 11.2.

deterministic-port-block-allocation statement introduced in Junos OS Release 12.1.

Description

Specify the NAT pool port or range. You can configure an automatically assigned port or specify a range with minimum and maximum values.

Options

automatic—Router-assigned port.

minimum-value—Lower boundary for the port range.

maximum-value—Upper boundary for the port range.

preserve-parity—Allocate ports with same parity as the original port.

preserve-range—Preserve privileged port range after translation.

random-allocation—Allocate ports within a specified range randomly.

Other options are described separately.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Published: 2012-11-28