Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services nat pool (Aggregated Multiservices)

    Syntax

    show services nat pool<brief | detail><pool-name>

    Release Information

    Command introduced in Junos OS Mobility Release 11.2W.

    Description

    Display information about the Network Address Translation (NAT) pools and their current split among the active aggregated multiservices (AMS) member interfaces. In AMS NAT, the pool might be split among the active members based on the NAT type configured.

    Options

    none

    Display standard information about all the NAT pools for the ams interface.

    brief | detail

    (Optional) Display the specified level of output.

    pool-name

    (Optional) Display information about the specified NAT pool.

    Required Privilege Level

    view

    List of Sample Output

    show services nat pool brief (Aggregated Multiservices)
    show services nat pool detail (Aggregated Multiservices)
    show services nat pool dynamic_pool detail

    Output Fields

    Table 1 lists the output fields for the show services nat pool (aggregated multiservices) 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 the aggregated multi services member interface (mams-).

    All levels

    Service set

    Name of the service set for the interface. Individual empty service sets are not displayed, but if none of the service sets have any flows, a flow table header is printed for each service set.

    All levels

    NAT pool

    Name of the NAT pool for the interface.

    All levels

    Type or Translation type

    Address translation type: basic-nat-pt, basic-nat44, dnat-44, dynamic-nat44, NAPT-44, or napt-pt.

    All levels

    Address or Address range

    IPv4 address range of the pool.

    All levels

    Port or Port range

    Port range of the pool. This is applicable only for dynamic NAT pools and is not displayed for static NAT pools.

    All levels

    Ports used or Ports in use

    Number of ports allocated in this pool with this name. This is applicable only for dynamic NAT pools and is not displayed for static NAT pools.

    All levels

    Out of port errors

    Number of port allocation errors. This is applicable only for dynamic NAT pools and is not displayed for static NAT pools.

    detail

    Max ports used

    Maximum number of ports used. This is applicable only for dynamic NAT pools and is 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 (Aggregated Multiservices)

    user@host> show services nat pool brief
    Interface: mams-4/0/0, Service set: Src_static
    NAT pool          Type    Address                         Port        Ports used
    pool1             NAPT-44 50.1.0.0-50.1.42.169            1024-65535  1266
                              50.1.127.254-50.1.127.255
    
    Interface: mams-4/1/0, Service set: Src_static
    NAT pool          Type    Address                         Port        Ports used
    pool1             NAPT-44 50.1.42.170-50.1.85.83          1024-65535  270
    
    Interface: mams-5/0/0, Service set: Src_static
    NAT pool          Type    Address                         Port        Ports used
    pool1             NAPT-44 50.1.85.84-50.1.127.253         1024-65535  959
    

    show services nat pool detail (Aggregated Multiservices)

    user@host> show services nat pool detail
    Interface: mams-4/0/0, Service set: Src_static
      NAT pool: pool1, Translation type: NAPT-44
        Address range: 50.1.0.0-50.1.42.169
        Address range: 50.1.127.254-50.1.127.255
        Port range: 1024-65535, Ports in use: 1266, Out of port errors: 0, Max ports used: 84880
    
    Interface: mams-4/1/0, Service set: Src_static
      NAT pool: pool1, Translation type: NAPT-44
        Address range: 50.1.42.170-50.1.85.83
        Port range: 1024-65535, Ports in use: 299, Out of port errors: 0, Max ports used: 86189
    
    Interface: mams-5/0/0, Service set: Src_static
      NAT pool: pool1, Translation type: NAPT-44
        Address range: 50.1.85.84-50.1.127.253
        Port range: 1024-65535, Ports in use: 959, Out of port errors: 0, Max ports used: 87933
    

    show services nat pool dynamic_pool detail

    user@host> show services nat pool dynamic_pool detail
    Interface: mams-4/0/0, Service set: dynamic_nat44_set
      NAT pool: dynamic_pool, Translation type: DYNAMIC NAT44
        Address range: 16.1.1.0-16.1.1.84
        Address range: 16.1.1.255-16.1.1.255
        Out of address errors: 0, Addresses in use: 0
    
    Interface: mams-4/1/0, Service set: dynamic_nat44_set
      NAT pool: dynamic_pool, Translation type: DYNAMIC NAT44
        Address range: 16.1.1.85-16.1.1.169
        Out of address errors: 0, Addresses in use: 0
    
    Interface: mams-5/0/0, Service set: dynamic_nat44_set
      NAT pool: dynamic_pool, Translation type: DYNAMIC NAT44
        Address range: 16.1.1.170-16.1.1.254
        Out of address errors: 0, Addresses in use: 0
    
    

    Published: 2011-06-28