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

    secured-port-block-allocation

    Syntax

    secured-port-block-allocation {active-block-timeout timeout-seconds;block-size block-size;max-blocks-per-address max-blocks;}

    Hierarchy Level

    [edit services nat pool pool-name port]

    Release Information

    Statement introduced in Junos OS Release 11.2.

    Description

    When you use block allocation, one or more blocks of ports in a NAT pool address range are available for assignment to a subscriber.

    Options

    block-size—Number of ports included in a block.

    Default: 128

    Range: 1 to 60,000

    max-blocks—Maximum number of blocks that can be allocated to a user address.

    Default: 8

    Range: 1 to 512

    timeout-seconds—Interval, in seconds, during which a block is active. After timeout, a new block is allocated, even if ports are available in the active block.

    Default: 0—The default timeout of the active block is 0 (infinite). In this case, the active block transitions to inactive only when it runs out of ports and a new block is allocated. Any inactive block without any ports in use will be freed to the NAT pool.

    Range: Any value greater than or equal to 120.

    Required Privilege Level

    interface—To view this statement in the configuration.

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

    Published: 2013-08-29