show security nat source persistent-nat-table

Syntax

show security nat source persistent-nat-table ( all | interface | internal-ip ip-address <internal-port port> | pool poolname )

Release Information

Command introduced in Release 9.6 of Junos OS.

Description

Display a summary of persistent Network Address Translation (NAT) information.

Options

all—Display all persistent NAT bindings.

interface—Display persistent NAT bindings for the interface.

internal-ip ip-address—Display persistent NAT bindings for the specified internal IP address.

internal-ip ip-address internal-port port—Display persistent NAT bindings for the specified internal IP address and port.

pool—Display persistent NAT bindings for the specified source NAT pool.

Required Privilege Level

view

Related Topics

clear security nat source persistent-nat-table

List of Sample Output

show security nat source persistent–nat–table all
show security nat source persistent–nat–table internal-ip 10.10.10.197
show security nat source persistent–nat–table internal-ip 10.10.10.197 internal-port 6000
show security nat source persistent–nat–table interface

Output Fields

Table 131 lists the output fields for the show security nat source persistent–nat–table command. Output fields are listed in the approximate order in which they appear.

Table 131: show security nat source persistent–nat–table Output Fields

Field Name

Field Description

Internal IP/Port

Internal transport IP address and port number of the outgoing session from internal to external.

Reflexive IP/Port

Translated IP address and port number of the source IP address and port.

Source NAT Pool

The name of the source pool where persistent NAT is used.

Type

Persistent NAT type.

Left_time/Conf_time

The inactivity timeout period that remains and the configured timeout value.

Current_Sess_Num/Max_Sess_Num

The number of current sessions associated with the persistent NAT binding.

Source NAT Rule

Name of the source NAT rule to which this persistent NAT binding applies.

Sample Output

show security nat source persistent–nat–table all

user@host> show security nat source persistent–nat–table all
Persistent NAT Table Statistics:  
  binding total    : 131072  
  binding in use   : 1
  enode total      : 1048576
  enode in use     : 0
     Internal                Reflective          Source     Type             Left_time/  Curr_Sess_Num/  Source
 In_IP          In_Port Ref_IP          Ref_Port NAT Pool                    Conf_time   Max_Sess_Num    NAT Rule

10.10.10.197    6000    200.200.200.241 6000     src-nat-by-shifting any-remote-host    -/300   1/30     cone_nat
    

Sample Output

show security nat source persistent–nat–table internal-ip 10.10.10.197

user@host> show security nat source persistent–nat–table internal-ip 10.10.10.197
Persistent NAT Table Statistics:  
  binding total    : 131072  
  binding in use   : 1
  enode total      : 1048576
  enode in use     : 0
     Internal                Reflective          Source     Type             Left_time/  Curr_Sess_Num/  Source
 In_IP          In_Port Ref_IP          Ref_Port NAT Pool                    Conf_time   Max_Sess_Num    NAT Rule

10.10.10.197    6000    200.200.200.241 6000     src-nat-by-shifting any-remote-host    -/300   1/30     cone_nat 
     

Sample Output

show security nat source persistent–nat–table internal-ip 10.10.10.197 internal-port 6000

user@host> show security nat source persistent–nat–table internal-ip 10.10.10.197 internal-port 6000
Persistent NAT Table Statistics:  
  binding total    : 131072  
  binding in use   : 1
  enode total      : 1048576
  enode in use     : 0
     Internal                Reflective          Source     Type             Left_time/  Curr_Sess_Num/  Source
 In_IP          In_Port Ref_IP          Ref_Port NAT Pool                    Conf_time   Max_Sess_Num    NAT Rule

10.10.10.197    6000    200.200.200.241 6000     src-nat-by-shifting any-remote-host    -/300   1/30     cone_nat 
    

Sample Output

show security nat source persistent–nat–table interface

user@host> show security nat source persistent–nat–table interface
Persistent NAT Table Statistics:  
  binding total    : 131072  
  binding in use   : 1
  enode total      : 1048576
  enode in use     : 0