Technical Documentation

show services nat mapping

Syntax

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

Release Information

Command introduced in Junos OS Release 10.1.

Description

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

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.

Required Privilege Level

view

List of Sample Output

show services nat mapping brief
show services nat mapping detail
show services nat mapping pool-name

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

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

Published: 2010-07-14

Help
|
My Account
|
Log Out