utm-policy
Syntax
utm-policy policy-name { anti-spam { smtp-profile profile-name; } anti-virus { ftp { download-profile profile-name; upload-profile profile-name; } http-profile profile-name; imap-profile profile-name; pop3-profile profile-name; smtp-profile profile-name; } content-filtering { ftp { download-profile profile-name; upload-profile profile-name; } http-profile profile-name; imap-profile profile-name; pop3-profile profile-name; rule-set rule-set-name { rule rule-name { match { application any; /*http, pop3, impa, smtp, ftp */ direction any; /* upload or download */ file-type exe; /*predetect magic supported file types*/ } then { action { no-action; /* No action */ /* block Block and drop connection */ /* close-client Close client */ /* close-server Close server */ /* close-client-and-server Close client and server */ } notification { seclog; /* event logging */ endpoint { /* endpoint notification options */ type protocol-only; notify-mail-sender; custom-message "CF Blocks content"; } smtp-profile profile-name; } traffic-options { sessions-per-client { limit value; over-limit (block | log-and-permit); } } web-filtering { http-profile profile-name; } }
Hierarchy Level
[edit security utm default-configuration] [edit security utm]
Description
Configure a UTM policy for antivirus, antispam, content-filtering, traffic-options, and Web-filtering protocols and attach this policy to a security profile to implement it.
Options
policy-name
—Specify
name of the UTM policy.
The remaining statements are explained separately. See CLI Explorer.
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 9.5.
The [edit security utm default-configuration]
hierarchy
level is introduced in Junos OS Release 18.2R1.