show services nat pool
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
pgcp option added in Junos OS Release 8.5.
Description
Display information about Network Address Translation (NAT) pools.
Options
none | — | Display standard information about all NAT pools. |
brief | detail | — | (Optional) Display the specified level of output. |
pool-name | — | (Optional) Display information about the specified NAT pool. |
pgcp | — | (Optional) Display information about a NAT pool that is exclusive to the BGF. |
ports-per-session | — | (Optional) Display the number of ports allocated per session from the NAT pool. |
remotely-controlled | — | (Optional) Display if the NAT pool is explicitly specified by the gateway controller. |
Required Privilege Level
view
List of Sample Output
show services nat pool briefshow services nat pool detail
Output Fields
Table 1 lists the output fields for the show services nat pool command. Output fields are listed in the approximate order in which they appear.
Table 1: show services nat pool Output Fields
Field Name | Field Description | Level of Output |
|---|---|---|
Interface | Name of an Multiservices interface. | All levels |
Service set | Name of a service set. Individual empty service sets are not displayed, but if none of the service sets has any flows, a flow table header is printed for each service set. | All levels |
NAT pool | Name of the Network Address Translation pool. | All levels |
Type or Translation type | Address translation type: basic-nat44, dynamic-nat44, napt44, or dnat-44. | All levels |
Address or Address range | IPv4 address range of the pool. | All levels |
Port or Port range | Port range of the pool. Applicable only for dynamic NAT pools. Not displayed for static NAT pools. | All levels |
Ports used' or Ports in use | Number of ports allocated in this pool with this name. Applicable only for dynamic NAT pools. Not displayed for static NAT pools. | All levels |
Out of port errors | Number of port allocation errors. Applicable only for dynamic NAT pools. Not displayed for static NAT pools. | detail |
Max ports used | Maximum number of ports used. Applicable only for dynamic NAT pools. Not displayed for static NAT pools. | detail |
Addresses in use | Number of addresses in use for dynamic source address NAT pools. | detail |
Sample Output
show services nat pool brief
user@host> show services nat pool brief Interface: ms-1/3/0, Service set: blue NAT pool Type Address Port Ports used pool1 DNAT-44 100.100.100.100-100.100.100.100 pool2 NAPT-44 200.200.200.200-200.200.200.200 pool3 DYNAMIC NAT44 210.210.210.210-210.210.210.230 65530-65535 0
show services nat pool detail
user@host> show services nat pool detail Interface: ms-1/2/0, Service set: nat-2-internet-rsp0
NAT pool: src-nat-pool-pl01, Translation type: DNAT-44
Address range: 1.1.1.0-1.1.1.0
Address range: 2.2.2.2-2.2.2.2
Port range: 512-65535, Ports in use: 0, Out of port errors: 0, Max ports used: 0
