Command modified in Release 9.2 of JUNOS software.
Display a summary of all security policies configured on the device. If a particular policy is specified, display information particular to that policy.
This command is supported on J-series and SRX-series devices.
none—Display basic information about all configured policies.
detail—(Optional) Display a detailed view of all of the policies configured on the device.
policy-name policy-name—(Optional) Display information about the specified policy.
view
clear security policies statistics
Table 100 lists the output fields for the show security policies command. Output fields are listed in the approximate order in which they appear.
Table 100: show security policies Output Fields
user@host> show security policiesFrom zone: trust, To zone: untrust
Policy: p1, State: enabled, Index: 4, Sequence number: 1
Source addresses: v-2-2-2-0
Destination addresses: v-1-1-1-0
Applications: any
Action: permit, log, scheduled
Policy: p2, State: enabled, Index: 5, Sequence number: 2
Source addresses: v-2-2-2-0
Destination addresses: v-1-1-1-0
Applications: any
Action: deny, scheduled
user@host> show security policies policy-name
p1 detailPolicy: p1, action-type: permit, State: enabled, Index: 4
Sequence number: 1
From zone: trust, To zone: untrust
Source addresses:
v-2-2-2-0: 2.2.2.0/24
Destination addresses:
v-1-1-1-0: 1.1.1.0/24
Application: any
IP protocol: 0, ALG: 0, Inactivity timeout: 0
Source port range: [0-0]
Destination port range: [0-0]
Destination Address Translation: drop translated
Session log: at-create, at-close
Scheduler name: sch20
Policy statistics:
Input bytes : 50000 100 bps
Output bytes : 40000 100 bps
Input packets : 200 200 pps
Output packets : 100 100 pps
Session rate : 2 1 sps
Active sessions : 11
Session deletions: 20
Policy lookups : 12