show security policy-report
Syntax
show security policy-report <from-zone zone-name> <global> <report-type report-type> <to-zone zone-name>
Description
Displays detailed security policy reports.
Optimizing security policies ensure that the policies are efficient.
Over time, policies become disorganised and hence ineffective. You
can use the show security policy-report command to notify
end users when you create new policies or change existing policies
which adversely affect other security policies.
Options
| from-zone | Displays the policy report matching the given source zone.
|
||||||||||||||||||||||||||||||
| global | Displays the security policy report of the global policies. |
||||||||||||||||||||||||||||||
| report-type | Displays the type of the policy report. You can configure the following options for
|
||||||||||||||||||||||||||||||
| to-zone | Displays the policy report matching the given destination zone.
|
SRX series devices only analyze the following fields of a policy for the shadowing, redundant, generalization, and consolidation reports:
Source address (Ipv4 only)
Destination address (Ipv4 only)
Applications
Required Privilege Level
view
Sample Output
- show security policy-report report-type consolidation
- show security policy-report report-type scheduler
- show security policy-report report-type 1-year-not-hit
show security policy-report report-type consolidation
user@host> show security policy-report report-type consolidation
Logical system: root-logical-system
Problem: Policy p2 is consolidated with policy p1
Recommendation: Please check if policy p2 and p1
Index: 129
Policy: p2
Source zone: trust
Destination zone: untrust
Source addresses: s_ad2
Destination addresses: d_ad2
Applications: app2
Action: permit
Policy: p1
Source zone: trust
Destination zone: untrust
Index: 180
Source addresses: s_ad1
Destination addresses: d_ad1
Applications
show security policy-report report-type scheduler
user@host> show security policy-report report-type scheduler
Logical system: root-logical-system
Problem: Policy p2 has scheduler
Policy: p2, Index: 129
Source zone: trust
Destination zone: untrust
Source addresses: s_ad2
Destination addresses: d_ad2
Applications: app2
Action: permit
Scheduler: sch
show security policy-report report-type 1-year-not-hit
user@host> show security policy-report report-type 1-year-not-hit
Logical system: root-logical-system
Problem: Not been hit for one year
Recommendation: Please check if you need to remove policy p2
Policy: p2, Index: 129
Source zone: trust
Destination zone: untrust
Source addresses: s_ad2
Destination addresses: d_ad2
Applications: app2
Action: permit
Release Information
Command introduced in Junos OS Release 20.1R1.