request services advanced-anti-malware redirect-file
Syntax
request services advanced-anti-malware redirect-file <add|delete ></var/tmp/custom_page.html>
Note that the file path is required when adding a file. When
deleting a file, only the file name, no path, is required. For example: request services advanced-anti-malware redirect-file delete custom_page.html
Description
Allows you to add a customized file for users to be directed to. The file must be no larger than 8KB.
A default rich html file named “aamw_default_page.html” is included on the SRX Series Firewall for you to use. It says the following:
THIS SITE HAS BEEN BLOCKED
Sorry, the page you are looking for has been blocked due to the current security policy. If you believe this is an error or need to access this link, please contact your security department.
Also use the following command to view added files: show
services advanced-anti-malware redirect-files ?
Options
add | Add a redirect file |
delete | Delete a redirect file |
Additional Information
See advanced-anti-malware policy for the set services advanced-anti-malware
policy p1 http client-notify file
command.
Required Privilege Level
View
Release Information
Command introduced in Junos OS Release 19.3R1.