show services nat source pool
Syntax
Release Information
Command introduced in Junos OS Release 19.3R2.
Description
Display source NAT information for a pool.
Options
Required Privilege Level
view
List of 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
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.
Table 1: show services nat source pool Output Fields
Field Name | Description |
---|---|
Pool name | Name 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. |
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 times there is traffic that matches the source rule. |
Limit ports per host | |
Include-boundary-addresses | Include the lowest and highest addresses in the source address range of the NAT rule to be translated when the NAT pool is used. |
Ei-mapping-timeout | Duration for endpoint independent translations that use the specified NAT pool. |
Mapping-timeout | Duration for mappings that use the specified NAT pool. |
EIF Inbound session count | Number of EIF inbound sessions. |
EIF Inbound session limit exceeded drops | Number of EIF inbound sessions that exceed the drop limit. |
Address range | IP address range for the source pool. |
Ports | |
Total used ports | |
Error Counters
| The following bullets describe the fields:
|
Sample Output
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 Last block recycle 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