- show security nat source rule
-
<rule-name>
- all
Command introduced in Release 9.2 of JUNOS software.
Display information about the specified source Network Address Translation (NAT) rule.
This command is supported on SRX-series devices.
rule-name—Name of the rule.
all—Display information about all the source NAT rule.
view
Table 78 lists the output fields for the show security nat source rule command. Output fields are listed in the approximate order in which they appear
Table 78: show security nat source rule Output Fields
user@host> show security nat source rule r1
Source nat rule: r1, State: enabled, Index: 4
From routing instance: ri-2
To routing instance: ri-1
Source addresses:
any: 0.0.0.0/0
Destination addresses:
any: 0.0.0.0/0
Action: source-nat pool s1
Hit times: 22
Fail times: 2
user@host> show security nat source rule all
Total source nat rule number: 2
Total hit times: 32
Total fail times: 2
Source nat rule: r1, State: enabled, Index: 4
From routing instance: ri-2
To routing instance: ri-1
Source addresses:
any: 0.0.0.0/0
Destination addresses:
any: 0.0.0.0/0
Action: source-nat pool s1
Hit times: 22
Fail times: 2
Source nat rule: r2, State: enabled, Index: 5
From routing instance: ri-2, zone: z3 z4
To routing instance: ri-1
Source addresses:
any: 0.0.0.0/0
Destination addresses:
any: 0.0.0.0/0
Action: source-nat pool s2
Hit times: 10
Fail times: 0