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 security nat source rule-application

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show security nat source rule-application
rule-name 
all
logical-system logical-system-name
root-logical-system

Description

Display information about the specified source Network Address Translation (NAT) rule application.

Options

rule-name

Display information about the specified source NAT rule application.

all

Display information about all the source NAT rule applications.

logical-system logical-system-name

Display information about the source NAT rule applications for the specified logical system.

root-logical-system

Display information about the source NAT rule applications for the primary (root) logical system.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security nat source rule-application command. Output fields are listed in the approximate order in which they appear.

Table 1: show security nat source rule-application Output Fields

Field Name

Field Description

Destination NAT rule

Name of the source NAT rule.

Rule-set

Rule set identification number.

Rule-Id

Rule identification number.

Application

Name of the application or application set.

IP protocol

IP protocol identifier.

Source port range

Source port range identifier.

Destination port range

Destination port identifier.

ICMP information

  • type—ICMP message type.

  • code—Code corresponding to the ICMP message type.

Sample Output

show security nat source rule-application for port application

content_copy zoom_out_map
user@host>show security nat source rule-application all
 
source NAT rule: r2                   Rule-set: rs2 
Rule-Id                    : 2 
  Application: app1
    IP protocol: 3
    Source port range: [90-90] 
    Destination port range: [0-0]
    IP protocol: 4
    Source port range: [100-100] 
    Destination port range: [200-200]
  Application: app2
    IP protocol: 7
    Source port range: [400-500] 
    Destination port range: [80-80] 

Sample Output

show security nat source rule-application for ICMP application

content_copy zoom_out_map
user@host>show security nat source rule-application all
 
source NAT rule: r1                   Rule-set: rs1 
  Rule-Id                    : 1 
    Application: junos-icmp-all
      IP protocol: icmp
      ICMP Information: type=255, code=0
    Application: icmp1
      IP protocol: icmp
      ICMP Information: type=1, code=1
    Application: junos-icmp6-all
      IP protocol: 58
      ICMP Information: type=255, code=0

Release Information

Command introduced in Junos OS Release 12.1X47-D10.

footer-navigation