The exception application command configures an exception response action for files transmitted using the specified application.
The undo exception application command cancels the application exception of an application or all applications.
exception application name name [ action { alert | allow | block } ]
undo exception application name { name | all }
| Parameter | Description | Value |
|---|---|---|
name name |
Specifies the name of the application requiring a different response action. |
The value is a string of 1 to 32 characters. It can contain only case-insensitive letters, digits, underscores (_), and periods (.). |
action { alert | allow | block } |
Specifies the response action. |
The response action falls into the following types (the default value is block):
|
all |
Cancels the application exception of all applications. |
- |
If no response action is configured, the default action block takes effect.
An application refers to the application program for performing a task or providing a service.
For example, both applications Netease_Webmail and Yahoo_WebMail use HTTP to provide services. If you configure the response action for HTTP as block, the response action block takes effect on both Netease_Webmail and Yahoo_WebMail. If you need to configure an exception for Netease_Webmail, configure the response action for Netease_Webmail as alert in Application Exception. Then the response action for Yahoo_WebMail is block whereas the response action for Netease_Webmail is alert.
# Create profile av_application, configure virus detection for mail attachments downloaded from Yahoo.com in the profile, and set the response action to block.
<sysname> system-view [sysname] profile type av name av_application [sysname-profile-av-av_application] exception application name Yahoo_WebMail action block