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

    show services nat mapping

    Syntax

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

    Release Information

    Command introduced in Junos OS Release 10.1.

    summary option introduced in Junos OS Release 11.1.

    Description

    Display information about Network Address Translation (NAT) address and port mappings.

    Options

    none
    —

    Display standard information about all NAT pools.

    brief | detail | summary
    —

    (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 mapping brief
    show services nat mapping detail
    show services nat mapping pool-name
    show services nat mapping summary

    Output Fields

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

    Table 1: show services nat mapping Output Fields

    Field Name

    Field Description

    Level of Output

    Interface

    Name of a service 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 NAT pool.

    All levels

    Address Mapping

    Mapping performed by NAT to conceal the network address.

    All levels

    No. of Port Mappings

    Number of port mappings.

    All levels

    Port mapping

    Port mapping performed by NAT.

    detail

    Flow Count

    Number of flows.

    detail

    Total number of address mappings:

    Total number of address mappings for all interfaces and service sets.

    summary

    Total number of endpoint independent port mappings:

    Total number of port mappings for interfaces and services sets.

    summary

    Total number of endpoint independent filters:

    Total number of independent filters that filter out only packets that are not destined to the internal address and port regardless of the external IP address and port source.

    summary

    Sample Output

    show services nat mapping brief

    user@host> show services nat mapping brief
    Interface: sp-2/3/0, Service set: s1
         
        NAT pool: p1
          Address Mapping: 2.1.20.10 ---> 34.34.34.34
            No. of port mappings: 1
    

    show services nat mapping detail

    user@host> show services nat mapping detail
    Interface: sp-2/3/0, Service set: s1
         
        NAT pool: p1
          Address Mapping: 2.1.20.10 ---> 34.34.34.34, No. of port mappings: 1
            Port mapping: 49604 -->  1024, Flow Count: 2
    
    

    show services nat mapping pool-name

    user@host> show services nat mapping p1
    Interface: sp-2/3/0, Service set: s1
         
        NAT pool: p1
          Address Mapping: 2.1.20.10 ---> 34.34.34.34
            No. of port mappings: 1
    

    show services nat mapping summary

    user@host> show services nat mapping summary
    Total number of address mappings:                           500000
    Total number of endpoint independent port mappings:         500000
    Total number of endpoint independent filters:               0
                                   

    Published: 2012-07-03