Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show security nat interface-nat-ports

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show security nat interface-nat-ports
<node (node-id | all | local | primary)>
<logical-system (logical-system-name | all)>

Description

Display port usage for an interface source pool for Network Address Translation (NAT).

Options

none

Display all port usage information for an interface source pool.

node

For chassis cluster configurations, display interface NAT ports information on a specific node.

node-id

Identification number of the node. It can be 0 or 1.

all

Display information about all nodes.

local

Display information about the local node.

primary

Display information about the primary node.

logical-system (logical-system-name | all)

Display port usage information for the specified logical system or for all logical systems.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security nat interface-nat-ports command. Output fields are listed in the approximate order in which they appear.

Table 1: show security nat interface-nat-ports Output Fields

Field Name

Field Description

Pool Index

Port pool index.

Total Ports

Total number of ports in a port pool. In SRX Series Firewalls, 10 interface NAT ports are supported.

Single Ports Allocated

Number of ports allocated one at a time that are in use.

Single Ports Available

Number of ports allocated one at a time that are free for use.

Twin Ports Allocated

Number of ports allocated two at a time that are in use.

Twin Ports Available

Number of ports allocated two at a time that are free for use.

Sample Output

show security nat interface-nat-ports

content_copy zoom_out_map
user@host> show security nat interface-nat-ports         
Pool   Total  Single ports  Single ports  Twin ports  Twin ports
    index  ports     allocated     available   allocated   available
     0  64510             0         63486           0        1024
     1  64510             0         63486           0        1024
     2  64510             0         63486           0        1024
     3  64510             0         63486           0        1024
     4  64510             0         63486           0        1024
     5  64510             0         63486           0        1024
     6  64510             0         63486           0        1024
     7  64510             0         63486           0        1024
     8  64510             0         63486           0        1024
     9  64510             0         63486           0        1024

Sample Output

show security nat interface-nat-ports logical-system all

content_copy zoom_out_map
user@host> show security nat interface-nat-ports logical-system all         
Logical system: root-logical-system
Pool   Total  Single ports  Single ports  Twin ports  Twin ports
index  ports     allocated     available   allocated   available
    0  64510             0         63486           0        1024
Logical system: LSYS1
Pool   Total  Single ports  Single ports  Twin ports  Twin ports
index  ports     allocated     available   allocated   available
    0  64510             0         63486           0        1024
    1  64510             0         63486           0        1024
    2  64510             0         63486           0        1024
    3  64510             0         63486           0        1024
    4  64510             0         63486           0        1024
    5  64510             0         63486           0        1024
    6  64510             0         63486           0        1024
    7  64510             0         63486           0        1024
    8  64510             0         63486           0        1024
    9  64510             0         63486           0        1024
   10  64510             0         63486           0        1024
   11  64510             0         63486           0        1024
   12  64510             0         63486           0        1024
   13  64510             0         63486           0        1024
   14  64510             0         63486           0        1024
   15  64510             0         63486           0        1024
   16  64510             0         63486           0        1024
   17  64510             0         63486           0        1024
   18  64510             0         63486           0        1024
   19  64510             0         63486           0        1024
   20  64510             0         63486           0        1024
   21  64510             0         63486           0        1024
   22  64510             0         63486           0        1024
   23  64510             0         63486           0        1024
   24  64510             0         63486           0        1024
   25  64510             0         63486           0        1024
   26  64510             0         63486           0        1024
   27  64510             0         63486           0        1024
   28  64510             0         63486           0        1024
   29  64510             0         63486           0        1024
   30  64510             0         63486           0        1024
   31  64510             0         63486           0        1024
   32  64510             0         63486           0        1024
   33  64510             0         63486           0        1024
   34  64510             0         63486           0        1024
   35  64510             0         63486           0        1024
   36  64510             0         63486           0        1024
   37  64510             0         63486           0        1024
   38  64510             0         63486           0        1024
   39  64510             0         63486           0        1024
   40  64510             0         63486           0        1024
   41  64510             0         63486           0        1024
   42  64510             0         63486           0        1024
   43  64510             0         63486           0        1024
   44  64510             0         63486           0        1024
   45  64510             0         63486           0        1024
   45  64510             0         63486           0        1024
   46  64510             0         63486           0        1024
   47  64510             0         63486           0        1024
   48  64510             0         63486           0        1024
   49  64510             0         63486           0        1024
   50  64510             0         63486           0        1024
   51  64510             0         63486           0        1024
   52  64510             0         63486           0        1024
   53  64510             0         63486           0        1024
   54  64510             0         63486           0        1024
   55  64510             0         63486           0        1024
   56  64510             0         63486           0        1024
   57  64510             0         63486           0        1024
   58  64510             0         63486           0        1024
   59  64510             0         63486           0        1024

Release Information

Command modified in Junos OS Release 9.2. The node options added in Junos OS Release 9.0. Logical system support added in Junos OS Release 12.1X45-D10.

footer-navigation