Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

log (Security Policies)

Syntax

Hierarchy Level

Description

Log traffic information for a specific policy. Traffic information is logged when a session begins (session-init) or closes (session-close).

Note:

You must configure security policy for the session using the set security policies from-zone zone-name to-zone zone-name policy policy-name then log session-close command to list all the applications and nested applications in Application Tracking on J-Web using the on-box reporting feature.

Options

session-close

Start logging traffic when the session ends.

session-init

Start logging traffic when the session begins.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.5.