url-filter
Syntax
url-filter { profile profile-name { template template-name { client-interfaces [ client-interface-name1 client-interface-name2 ]; disable-url-filtering; dns-resolution-interval minutes; dns-resolution-rate seconds; dns-retries number; dns-routing-instance dns-routing-instance-name; dns-server [ ip-address1 ip-address2 ip-address3 ]; dns-source-interface loopback-interface-name; routing-instance routing-instance-name; server-interfaces [ server-interface-name1 server-interface-name2 ]; term term-name { from { src-ip-prefix [prefix1 prefix2]; dest-port [port1 port2]; } then { accept; custom-page custom-page; http-status-code http-status-code; redirect-url redirect-url; tcp-reset; } } url-filter-database filename } url-filter-database filename; } }
Hierarchy Level
[edit services]
Description
Configure URL filtering service.
Note:
Starting
in Junos OS Release 18.3R1, the url-filter
statement is
deprecated and has been replaced by the web-filter
statement.
The url-filter
statement is supported for backward compatibility.
Options
url-filter-database filename |
Specify the filename of the URL filter database. This option is mandatory. |
The remaining statements are explained separately.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.2.