show security nat destination rule
Syntax
Release Information
Command introduced in Release 9.2 of Junos OS.
Description
Display information about the specified destination Network Address Translation (NAT) rule.
Options
rule-name—Name of the rule.
all—Display information about all the destination NAT rule.
Required Privilege Level
view
Related Topics
List of Sample Output
show security nat destination rule r4show security nat destination rule all
Output Fields
Table 127 lists the output fields for the show security nat destination rule command. Output fields are listed in the approximate order in which they appear.
Table 127: show security nat destination rule Output Fields
Field Name | Field Description |
|---|---|
Destination nat rule | Name of the destination NAT rule. |
State | Status of the IP address:
|
Index | Rule index number. |
From routing instance | Name of the routing instance from which the packet comes. |
Source address | Name of the source addresses which match the rule. The default value is any. |
Destination address | Name of the destination addresses which match the rule. The default value is any. |
Destination ports | Destination ports number which match the rule. The default value is any. |
Action | The action taken in regard to a packet that matches the rule’s tuples. Actions include the following:
|
Hit times | Number of times a translation in the translation table is used for a destination NAT rule. |
Fail times | Number of times a translation in the translation table failed to translate for a destination NAT rule. |
Total destination nat rule number | Number of destination NAT rules. |
Total hit times | Number of times a translation in the translation table is used for all the destination NAT rules. |
Total fail times | Number of times a translation in the translation table failed to translate for all the destination NAT rules. |
Sample Output
show security nat destination rule r4
user@host>show security nat destination rule
r4Destination nat rule: r4, State: enabled, Index: 7
From routing instance: ri-1
Source addresses:
any: 0.0.0.0/0
Destination addresses:
1.1.1.1/32 1.1.1.3/32
Destination ports:
any: 0
Action: destination-nat pool d1
Hit times: 30
Fail times: 0Sample Output
show security nat destination rule all
user@host> show security nat destination rule
all
Total destination nat rule number: 2
Total hit times: 45
Total fail times: 3
Destination nat rule: r4, State: enabled, Index: 7
From routing instance: ri-1
Source addresses:
any: 0.0.0.0/0
Destination addresses:
1.1.1.1/32 1.1.1.3/32
Destination ports:
any: 0
Action: destination-nat pool d1
Hit times: 30
Fail times: 0
Destination nat rule: r5, State: enabled, Index: 8
From routing instance: ri-1, interface: fe-0/0/0.0
Source addresses:
any: 0.0.0.0/0
Destination addresses:
1.1.1.1/32
Destination ports:
any: 0
Action: destination-nat pool d3
Hit times: 15
Fail times: 3
Hide Navigation Pane
Show Navigation Pane
Download
SHA1