term (URL Filter)
Syntax
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; } }
Hierarchy Level (starting in Junos OS Release 18.3R1)
[edit services web-filter profile profile-name url-filter-template template-name]
Hierarchy Level (before Junos OS Release 18.3R1)
[edit services url-filter profile profile-name template template-name]
Description
Define a URL filtering term. A term is a set of
match criteria with actions to be taken if the match criteria is met.
You must configure term
to configure URL filtering.
Options
term-name |
Name of the term. |
||||||||||
from |
Define match criteria. The Only one term in a template can have an optional URLFD_CONFIG_FAILURE: Configuration not valid: Cannot have two wild card terms in template template1 error: configuration check-out failed Similarly, no two templates within a profile can have a term
without a
|
||||||||||
then |
Specify
one of the following actions to be taken if the
|
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.