show services nat source pool
Syntax
show services nat source pool pool-name <all> <interface interface-name> <service-set service-set>
Description
Display source NAT information for a pool.
Options
| pool-name | Display information about the specified pool. |
| all | Display all source NAT pool information. |
| interface interface-name | Display information specific to the adaptive services interface. |
| service-set service-set | Display information specific to the service set. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show services nat source
pool command. Output fields are listed in the approximate order
in which they appear.
Field Name |
Description |
|---|---|
|
Name of the source pool. |
|
Pool identification number. |
|
Name of the routing instance. |
|
Base address of the original source IP address range. |
|
Port numbers used for the source pool. |
|
Number of port overloading for the source pool. |
|
Type of address assignment. |
|
Number of IP addresses that are in use. |
|
Number of times there is traffic that matches the source rule. |
|
|
|
Include the lowest and highest addresses in the source address range of the NAT rule to be translated when the NAT pool is used. |
|
Duration for endpoint independent translations that use the specified NAT pool. |
|
Duration for mappings that use the specified NAT pool. |
|
Number of EIF inbound sessions. |
|
Number of EIF inbound sessions that exceed the drop limit. |
|
IP address range for the source pool. |
|
|
|
|
|
The following bullets describe the fields:
|
Sample Output
- show services nat source pool JNPR-CGNAT-PUB-POOL (NAT Pool)
- show services nat source pool JNPR-CGNAT-PUB-POOL (PBA Pool)
- show services nat source pool JNPR-CGNAT-PUB-POOL (Deterministic)
- show services nat source pool service-set ss1_interface_style1 interface vms-0/2/0 all
show services nat source pool JNPR-CGNAT-PUB-POOL (NAT Pool)
user@host> show services nat source pool JNPR-CGNAT-PUB-POOL
Interface: vms-0/2/0 , Service set: JNPR-IF-SSET
Pool name : JNPR-CGNAT-PUB-POOL
Pool id : 4
Routing instance : default
Host address base : 0.0.0.0
Port : [1024, 65535]
Port overloading : 1
Address assignment : no-paired
Total addresses : 254
Translation hits : 0
+Limit ports per host : 10
Include-boundary-addresses: Disable
Ei-mapping-timeout : 300
Mapping-timeout : 300
EIF Inbound session count: 0
EIF Inbound session limit exceeded drops: 0
Address range Ports
20.20.20.1 - 20.20.20.254 0
Total used ports : 0
+Error Counters:
+ Out of port errors : 0
+ Out of address errors : 0
+ Parity port errors : 0
+ Preserve Range errors : 0
+ APP port allocation errors : 0
+ APP port limit allocation errors : 0
+ Port block allocation errors : 0
+ Port blocks limit exceeded errors: 0
show services nat source pool JNPR-CGNAT-PUB-POOL (PBA Pool)
user@host> show services nat source pool JNPR-CGNAT-PUB-POOL
Interface: vms-0/2/0 , Service set: JNPR-IF-SSET
Pool name : JNPR-CGNAT-PUB-POOL
Pool id : 4
Routing instance : default
Port : [1024, 65535]
Port overloading : 1
Address assignment : no-paired
Total addresses : 510
Translation hits : 0
Port block size : 256
Max blocks per host : 8
Active block timeout : 0
Interim logging interval : 0
PBA block log : Enable
Used/total port blocks: 0/128520
+Max number of port blocks used: 0
Include-boundary-addresses: Disable
Ei-mapping-timeout : 300
Mapping-timeout : 300
EIF Inbound session count: 0
EIF Inbound session limit exceeded drops: 0
Address range Ports
100.0.0.1 - 100.0.1.254 0
Total used ports : 0
Error Counters:
Out of port errors : 0
Out of address errors : 0
Parity port errors : 0
Preserve Range errors : 0
APP port allocation errors : 0
APP port limit allocation errors : 0
Port block allocation errors : 0
Port blocks limit exceeded errors : 0
show services nat source pool JNPR-CGNAT-PUB-POOL (Deterministic)
user@host> show services nat source pool JNPR-CGNAT-PUB-POOL
Interface: vms-0/2/0 , Service set: JNPR-IF-SSET
Pool name : JNPR-CGNAT-PUB-POOL
Pool id : 4
Routing instance : default
Port : [1024, 65535]
Port overloading : 1
Address assignment : no-paired
Total addresses : 510
Translation hits : 0
Port block size : 256
Determ host range num: 1
+Unique pool users: 0
Include-boundary-addresses: Disable
Ei-mapping-timeout : 300
Mapping-timeout : 300
EIF Inbound session count: 0
EIF Inbound session limit exceeded drops: 0
Address range Single Ports Twin Ports
100.0.0.1 - 100.0.1.254 0 0
Total used ports : 0 0
Error Counters:
Out of port errors : 0
Out of address errors : 0
Parity port errors : 0
Preserve Range errors : 0
APP port allocation errors : 0
APP port limit allocation errors : 0
Port block allocation errors : 0
Port blocks limit exceeded errors : 0
show services nat source pool service-set ss1_interface_style1 interface vms-0/2/0 all
user@router>show services nat source pool service-set ss1_interface_style1 interface vms-0/2/0 all
Interface: vms-0/2/0 , Service set: ss1_interface_style1
Pool name : src_pool1
Pool id : 4
Routing instance : default
Host address base : 0.0.0.0
Port : [1024, 63487]
Twin port : [63488, 65535]
Port overloading : 1
Address assignment : no-paired
Total addresses : 254
Translation hits : 3
Address range Single Ports Twin Ports
44.0.0.1 - 44.0.0.254 1 0
Total used ports : 1 0 Release Information
Command introduced in Junos OS Release 19.3R2.