[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

show services nat pool

Syntax

show services nat pool
<brief | detail>
<pool-name>
pgcp <ports-per-session | remotely-controlled>

Release Information

Command introduced before JUNOS Release 7.4.

pgcp option added in JUNOS 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 brief
show services nat pool detail

Output Fields

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

Table 262: show services nat pool Output Fields

Field Name

Field Description

Level of Output

Interface

Name of an adaptive services 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: dynamic or static.

All levels

Address or Address range

IPv4 or IPv6 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: sp-1/3/0, Service set: blue
NAT pool Type    Address                         Port        Ports used
pool1    static  100.100.100.100-100.100.100.100
pool2    static  200.200.200.200-200.200.200.200
pool3    dynamic 210.210.210.210-210.210.210.230 65530-65535          0

show services nat pool detail

user@host> show services nat pool detail
Interface: sp-1/2/0, Service set: set1
   NAT pool: pool1, Translation type: static
     Address range: 100.100.100.100-100.100.100.100
   NAT pool: pool2, Translation type: static
     Address range: 200.200.200.200-200.200.200.200
   NAT pool: pool3, Translation type: dynamic
     Address range: 210.210.210.210-210.210.210.230, Port range: 65530-65535,
     Ports in use: 0, Out of port errors: 0, Max ports used: 0, Addresses in use: 0


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]