profile(dynamic-application)
Syntax
profile name { redirect-message { type { custom-text { content content; } redirect-url { content content; } } } }
Hierarchy Level
[edit security dynamic-application]
Description
Define a profile to provide an explanation for the policy action or to redirect the client request to an informative webpage when a policy blocks HTTP or HTTPS traffic with a deny or reject action in a security policy.
Although drop and reject actions can be logged, the users might
not be notified when either action is taken. To provide a reason
for the action or to redirect the users to an informative webpage,
use the redirect-message
option at the [edit security
dynamic-application profile
name]
hierarchy level to display a custom message.
Customize the redirect action by adding your text message on
the splash screen or specify the URL to which the user is redirected.
When the redirect message
option is specified, a splash
screen and message informs the client that the traffic has been blocked.
Starting in Junos OS Release 18.2R1, a redirect profile can be configured in a unified policy.
Options
name | Name of the profile.
|
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 18.2R1.