Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    port

    Syntax

    port (automatic | range low minimum-value high maximum-value) {}

    Hierarchy Level

    [edit services 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.

    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.

    Usage Guidelines

    See Configuring Addresses and Ports for Use in NAT Rules.

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2012-07-02