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 address-pooling-paired

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services nat source mappings address-pooling-paired

Description

Displays NAT source mappings address pooling information

Options

address-pooling-paired

(Optional) Display only information about address-pooling paired mappings.

endpoint-independent

(Optional) Display only information about endpoint-independent mappings.

pcp

(Optional) Display only information about port control protocol mappings.

Note:

PCP requests with the prefer-failure option request a particular external IP address and port. When the request cannot be fulfilled, the mapping is not created. In this case, the subscriber does not have a mapped IP address. Such a subscriber is counted in the summary of the number or address mappings, but is not displayed in the list of address mappings, as shown in the following examples:

content_copy zoom_out_map
user@host# show services nat mappings summary             
Service Interface:                                   sp-2/0/0
Total number of address mappings:                           1
Total number of endpoint independent port mappings:         0
Total number of endpoint independent filters:               0
content_copy zoom_out_map
user@host# show services nat mappings address-pooling-paired             
[edit]

This is expected behavior because unfulfilled address mappings (IP of 0.0.0.0) are not displayed in the output of the second CLI command. These address mappings will time out based on configured or default values.

Required Privilege Level

view

Sample Output

show services nat source mappings address-pooling-paired

content_copy zoom_out_map
user@host> show services nat source mappings address-pooling-paired             
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

show services nat source mappings address-pooling-paired private 1.1.1.100

content_copy zoom_out_map
user@host> show services nat source mappings address-pooling-paired private 1.1.1.100             
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

show services nat source mappings address-pooling-paired public 30.30.30.2

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

show services nat source mappings address-pooling-paired pool-name sp1

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

show services nat mappings address-pooling-paired

content_copy zoom_out_map
user@host> show services nat mappings address-pooling-paired             
Interface: sp-3/0/0, Service set: NAPT44-SS1
NAT pool: napt44-SS1-p1
Mapping          : 29.32.38.255    --> 192.168.75.23
Ports In Use     :     9
Session Count    :     1
Mapping State    : Active

show services nat mappings address-pooling-paired (mapping of active B4 for a subscriber)

content_copy zoom_out_map
user@host> show services nat mappings address-pooling-paired             
Interface: sp-0/0/0, Service set: sset_1

NAT pool: nat_pool1

Mapping          : 2001::          --> 33.33.33.2
Ports In Use     :     1
Session Count    :     9
Mapping State    : Timeout

show services nat mappings endpoint-independent

content_copy zoom_out_map
user@host> show services nat mappings endpoint-independent             
Interface: sp-3/0/0, Service set: NAPT44-SS1
NAT pool: napt44-SS1-p1
Mapping          : 29.32.38.255:10000    --> 192.168.75.23:1024
Session Count    : 1
Mapping State    : Active

show services nat mappings pcp

content_copy zoom_out_map
user@host> show services nat mappings pcp             
PCP Client       : 172.16.0.1        PCP Lifetime : 45
Mapping          : 29.32.38.255:10000    --> 192.168.75.23:1024
Session Count    : 1
Mapping State    : Active

show services nat mappings nptv6 internal

content_copy zoom_out_map
user@host> show services nat mappings nptv6 internal 1111:2222:3333:aaaa:bbbb::1

	Interface       Service-set     NAT-Pool           Address Mapping
	vms-0/1/0       ss_nptv6       ss_nptv6_pool   1111:2222:3333:aaaa:bbbb::1 -> aaaa:bbbb:cccc:dddd:bbbb::1

show services nat mappings nptv6 external

content_copy zoom_out_map
user@host> show services nat mappings nptv6 external aaaa:bbbb:cccc:dddd:bbbb::1

	Interface       Service-set     NAT-Pool              Address Mapping
	vms-0/1/0        ss_nptv6            ss_nptv6_pool   1111:2222:3333:aaaa:bbbb::1 -> aaaa:bbbb:cccc:dddd:bbbb::1

Release Information

footer-navigation