F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Attack Protection Command Reference-6PW100
88
ftp-policy
Use ftp-policy to apply an FTP filtering policy to a content filtering policy template.
Use undo ftp-policy to remove the application of an FTP filtering policy.
Syntax
ftp-policy policy-name
undo ftp-policy policy-name
Default
No FTP filtering policy is applied to a content filtering policy template.
Views
Content filtering policy template view
Default command level
2: System level
Parameters
policy-name: Specifies the name of the FTP filtering policy, a case-sensitive string of 1 to 32 characters.
The FTP filtering policy must already exist.
Usage guidelines
This command enables FTP content filtering based on the FTP filtering policy.
Examples
# Apply an FTP filtering policy FTPBanned to the content filtering policy template StrictRule.
<Sysname> system-view
[Sysname] content-filtering policy-template StrictRule
[Sysname-contflt-policy-template-StrictRule] ftp-policy FTPBanned
Related commands
content-filtering ftp-policy
head-filtering keyword-entry
Use head-filtering keyword-entry to specify a keyword filtering entry for HTTP header filtering.
Use undo head-filtering keyword-entry to remove a keyword filtering entry for HTTP header filtering.
Syntax
head-filtering keyword-entry keyword-entry-name
undo head-filtering keyword-entry keyword-entry-name
Default
No keyword filtering entry is specified for HTTP header filtering.
Views
HTTP filtering policy view
Default command level
2: System level