Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

profile (Web Filter)

 

Syntax

Hierarchy Level (starting in Junos OS Release 18.3R1

Hierarchy Level (before Junos OS Release 18.3R1)

Release Information

Statement introduced in Junos OS Release 17.2.

dns-filter, dns-filter-templates, global-dns-stats-log-timer, and url-filter-template options introduced in Junos OS Release 18.3R1.

Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.

Description

Define URL filter profile or DNS filter profile.

A URL filter profile is for filtering access to blacklisted URLs. A URL filter profile includes a general database setting and templates. The template settings apply to specific interfaces or to access from specific source IP address prefixes, and override the database setting at the profile level.

A DNS filter profile is used to filter DNS requests for blacklisted website domains. A DNS filter profile includes general DNS filtering settings and up to 32 templates. The template settings apply to DNS requests on specific interfaces or to DNS requests from specific source IP address prefixes, and override the corresponding settings at the profile level. You can configure up to eight DNS filter profiles.

Note

For URL filtering, use the url-filter-template option starting in Junos OS Release 18.3R1 and use the template option in Junos OS Releases before 18.3R1.

Options

profile-nameName of the filter profile.
url-filter-database filenameSpecify the filename of the URL filter database. This option is mandatory.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

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