show security nat static rule
Syntax
Release Information
Command introduced in Release 9.3 of Junos OS.
Description
Display information about the specified static Network Address Translation (NAT) rule.
Options
rule-name —Name of the rule.
all—Display information about all the static NAT rules.
Required Privilege Level
view
Related Topics
List of Sample Output
show security nat static rule rsr11show security nat static rule all
Output Fields
Table 135 lists the output fields for the show security nat static rule command. Output fields are listed in the approximate order in which they appear.
Table 135: show security nat static rule Output Fields
Field Name | Field Description |
|---|---|
Static nat rule | Name of the static NAT rule. |
Rule-set | Name of the rule-set. Currently, you can configure 8 rules within the same rule-set. |
Rule-Id | Rule ID number. |
Rule-position | Position of the rules indicates the order that they apply to traffic. |
From interface | Name of the interface from which the packet comes. |
From routing instance | Name of the routing instance from which the packet comes. |
Destination address | Name of the destination addresses that match the rule. |
Host addresses | Name of the host addresses that match the rule. |
Netmask | Subnet IP address. |
Translation hits | Number of times a translation in the translation table is used for a static NAT rule. |
Sample Output
show security nat static rule rsr11
user@host> show
security nat static rule rsr11 Static NAT rule: rsr11 Rule-set: rsr1 Rule-Id : 1 Rule position : 4 From routing instance : default Destination addresses : 40.0.0.0 Host addresses : 31.0.0.0 Netmask : 255.255.255.0 Translation hits : 0
Sample Output
show security nat static rule all
user@host> show
security nat static rule all Static NAT rule: rsr3 Rule-set: rsr2 Rule-Id : 3 Rule position : 6 From interface : ge-0/0/1.0 Destination addresses : 60.0.0.0 Host addresses : 100.0.0.0 Netmask : 255.255.255.0 Translation hits : 0 Static NAT rule: rsr11 Rule-set: rsr1 Rule-Id : 1 Rule position : 4 From routing instance : default Destination addresses : 40.0.0.0 Host addresses : 31.0.0.0 Netmask : 255.255.255.0 Translation hits : 0
Hide Navigation Pane
Show Navigation Pane
Download
SHA1