show security nat source pool

Syntax

show security nat source poolpool-nameall logical-system (logical-system-name | all)root-logical-system

Release Information

Command introduced in Junos OS Release 9.2. Description output field added in Junos OS Release 12.1. The Address assignment output field and IPv6 logical system support added in Junos OS Release 12.1X45-D10. The twin-port output field added in Junos OS Release 12.1X47-D10. The Address-persistent output field added in Junos OS Release 12.1X47-D15.

Description

Display information about the specified Network Address Translation (NAT) source address pool and the configured twin port range per pool.

Options

pool-name

Display source NAT information for the specified address pool.

all

Display information about all source NAT address pools.

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

Display information about the specified logical system source NAT pools or all logical system source NAT pools.

root-logical-system

Display information about the source NAT pools for the master (root) logical system.

Required Privilege Level

view

Related Documentation

List of Sample Output

show security nat source pool src-p1
show security nat source pool all
show security nat source pool sp1
show security nat source pool P_1
show security nat source pool src-nat-v4-with-pat

Output Fields

Table 13 lists the output fields for the show security nat source pool command. Output fields are listed in the approximate order in which they appear.

Table 13: show security nat source pool Output Fields

Field Name

Field Description

Pool name

Name of the source pool.

Description

Description of the source pool.

Pool id

Pool identification number.

Routing Instance

Name of the routing instance.

Host address base

Base address of the original source IP address range.

Port

Port numbers used for the source pool.

Twin port

Upper and lower limits of the twin port.

port overloading

Number of port overloading for the source pool.

Address assignment

Type of address assignment.

Total addresses

Number of IP addresses that are in use.

Translation hits

Number of translation hits.

Port block size

Block size for the deterministic pool.

Determ host range num

Host range for the deterministic pool.

Address range

IP address or IP address range for the source pool.

Address-Persistent

Address persistent information for IPv4 source pools:

  • IPv6 prefix length–Configured IPv6 prefix length.
  • IPv6 subscriber out of port–Number of port allocation failures.

Single Ports

Number of allocated single ports.

Twin Ports

Number of allocated twin ports.

Sample Output

show security nat source pool src-p1

user@host> show security nat source pool src-p1
      
Pool name          : src-p1
Description        : The source pool src-p1 is for the sales team
Pool id            : 4
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Address assignment : paired
port overloading   : 1
Total addresses    : 4
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            3.3.3.0 - 3.3.3.3            0              0    

Sample Output

show security nat source pool all

user@host> show security nat source pool all
    
Total pools: 4

Pool name          : src-p1
Description        : The source pool src-p1 is for the sales team
Pool id            : 4
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Address assignment : paired
port overloading   : 1
Total addresses    : 4
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            3.3.3.0 - 3.3.3.3            0              0    
 
Pool name          : src-p2
Description        : The source pool src-p2 is for the sales team
Pool id            : 5
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Address assignment : no-paired
port overloading   : 1
Total addresses    : 4
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            4.4.4.0 - 4.4.4.3            0              0    
                                        
Pool name          : src-p3
Description        : The source pool src-p3 is for the sales team
Pool id            : 6
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Address assignment : no-paired
port overloading   : 1
Total addresses    : 1
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            2003::1 - 2003::1            0              0    
 
Pool name          : src-p4
Description        : The source pool src-p4 is for the sales team
Pool id            : 7
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Address assignment : no-paired
port overloading   : 1
Total addresses    : 1
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            2004::1 - 2004::1            0              0    

show security nat source pool sp1

user@host>show security nat source pool sp1
Pool name          : sp1
Description        : The source pool src-p1 is for the sales team
Pool id            : 12
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Twin port          : [63488, 64515]
Port overloading   : 1
Address assignment : no-paired
Total addresses    : 1
Translation hits   : 0
Address range                        Single Ports   Twin Ports 
            55.1.1.1 - 55.1.1.1            0              0 

show security nat source pool P_1

user@host>show security nat source pool P_1
Pool name          : P_1
Pool id            : 4
Routing instance   : default
Port               : [12345, 17890] 
Port overloading   : 1
Address assignment : no-paired
Total addresses    : 256
Translation hits   : 0
Port block size      : 1000
Determ host range num: 3
Address range                        Single Ports   Twin Ports 
         3.3.3.0 - 3.3.3.255             0             0

show security nat source pool src-nat-v4-with-pat

user@host>how security nat source pool src-nat-v4-with-pat
Pool name          : src-nat-v4-with-pat
Pool id            : 5
Routing instance   : default
Host address base  : 0.0.0.0
Port               : [1024, 63487] 
Port overloading   : 1
Address assignment : no-paired
Total addresses    : 10
Translation hits   : 0
Address-persistent 
        IPv6 prefix length: 64
        IPv6 subscriber out of port: 0
Address range                        Single Ports   Twin Ports 
            3.3.3.1 - 3.3.3.10           0              0