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 deterministic-nat internal-host

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services nat deterministic-nat internal-host
nat-address
nat-port

Description

This commands prints the internal host address and algorithmically determined port ranges for the specified NAT IP address and port number. The results are calculated on the PIC and the results are sent to RE.

Options

nat-address

NAT address of the internal host.

nat-port

NAT port of the internal host.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the nat deterministic-nat internal-host command. Output fields are listed in the approximate order in which they appear.

Table 1: show services nat deterministic-nat internal-host Output Fields

Field Name

Field Description

Interface

Name of a service interface.

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.

Internal Host

Private IP address of a subscriber on the access network.

NAT IP address

NAT public IP address

NAT Port Start

Lowest port number in range of assigned ports.

NAT Port End

Highest port number in range of assigned ports.

Sample Output

show services nat deterministic-nat internal-host

content_copy zoom_out_map
user@host> show services nat deterministic-nat internal-host 203.0.113.1 2000             
Service set: ss1
Interface: sp-2/0/0
NAT pool: pool1
Internal Host: 192.0.2.4, NAT IP Address: 203.0.113.1, NAT Port Start: 1792, NAT Port End: 2047

Release Information

Command introduced in Junos OS Release 12.1.

footer-navigation