Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services nat source mappings endpoint-independent

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services nat source mappings endpoint-independent
<pool-name>
<private | public>

Description

Displays NAT endpoint independent mapping.

Options

<pool-name>

Name of address pool.

<private>

Private IPv4/IPv6 prefix to use as a filter.

<public>

Public IP prefix to use as a filter.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields from the show services nat source mappings endpoint-independent command. Output fields are listed in the approximate order in which they appear.

Table 1: show services nat source mappings endpoint-independent Output Fields

Field Name

Description

Interface

Name of the interface.

Service set

Name of the service set.

NAT pool

Name of the NAT pool.

Mapping

Shows the mapping of IP addresses.

Session Count

Number of sessions currently using the mapping.

Mapping State

NAT mapping state. The following states are possible:

  • ACTIVE―Indicates that the entry is active and in use.

  • TIMEOUT―Indicates that the mapping is not is in use. After the mapping-timeout, configured at the [edit services nat pool pool-name] hierarchy level, lapses, the mapping is deleted. This fields also displays the number of seconds after which the timeout occurs.

Sample Output

show services nat source mappings endpoint-independent (ms- interfaces)

content_copy zoom_out_map
user@host> show services nat source mappings endpoint independent             
Interface: ms-2/0/0, Service set: ss1
NAT pool: test-pool
Mapping          : 2.1.1.1         : 1026  --> 123.0.0.5       :10926
Session Count    :     1
Mapping State    : Active

show services nat source mappings endpoint-independent private 15.4.4.2 public 20.20.20.1 (ms-interfaces)

content_copy zoom_out_map
user@host> show services nat source mappings endpoint-independent private 15.4.4.2 public 20.20.20.1             
Interface: ms-2/0/0, Service set: ss1
NAT pool: p1
Mapping          : 15.4.4.2        :12841  --> 20.20.20.1      :11205 
Session Count    :     1 
Mapping State    : Active   

show services nat source mappings endpoint-independent pool-name p1 (ms-interfaces)

content_copy zoom_out_map
user@host> show services nat source mappings endpoint-independent pool-name p1             
Interface: ms-2/0/0, Service set: ss1
NAT pool: p1
Mapping          : 15.4.4.2        :12841  --> 20.20.20.1      :11205 
Session Count    :     1 
Mapping State    : Active   

show services nat source mappings address-pooling-paired pool-name sp1 (sp- interfaces)

content_copy zoom_out_map
user@host> show services nat source mappings address-pooling-paired pool-name sp1             
  Interface: ms-2/0/0, Service set: ss1
Pool name: sp1
Internal address          External address     Session Count       Mapping State
1.1.1.100                     30.30.30.1             1                 Active
1.1.1.101                     30.30.30.2             1                  Active

Sample Output

show services nat source mappings endpoint-independent (vms- interfaces)

content_copy zoom_out_map
user@host> show services nat source mappings endpoint-independent
Interface: vms-2/0/0, Service set: vms-sset10
Pool name: napt44-pool12

Mapping          : 20.1.0.101     : 1024  --> 50.0.12.1       : 1024
Session Count    :     1
Mapping State    : Active
B4 Address       : 2002:2010::1401:4 >>>>>>>> B4 Address in mapping

Release Information

Command introduced in Junos OS 19.3R2.

Support for Next Gen Services with the MX-SPC3 security services card added in Junos OS Release 20.2.

footer-navigation