The exception ips-signature-id command adds an IPS signature as an exception.
The undo exception command deletes an IPS signature from signature exception.
exception ips-signature-id ips-signature-id [ action { alert | allow | block | { block-source-ip | block-destination-ip } [ timeout timeout ] } ]
undo exception { ips-signature-id ips-signature-id | all }
| Parameter | Description | Value |
|---|---|---|
ips-signature-id |
Specifies the ID of an IPS signature. |
The value is an integer ranging from 1 to 16777215. |
action |
Specifies the action. |
- |
alert |
Indicates that the device generates an alarm when a packet matches an exception IPS signature. |
- |
allow |
Indicates that the device permits a packet when a packet matches an exception IPS signature. |
The default action for the exception signature is allow. |
block |
Indicates that the device denies a packet when a packet matches an exception IPS signature. |
- |
{ block-source-ip | block-destination-ip } |
Indicates that the device blacklists the source or destination IP address and denies the packets destined from or for the specified IP address. |
- |
timeout timeout |
Specifies the lifetime of a blacklist entry. The blacklist entry ceases to take effect after the lifetime ends. |
The value is an integer, in minutes. The default value is 5. The value range is as follows:
|
all |
Indicates all signatures. |
- |
This command configures different actions for certain signatures. The security policy preferentially implements the action for the exception signature.
You can use the display firewall blacklist item command to view the blacklist entry created in case of an IPS attack. For the entry, Reason is IPS Attack in the command output.
During the IPS signature database update, if the configured exception signature does not exist in the IPS signature database, the corresponding configurations are reserved but do not take effect. When the current configurations are queried, the following message is displayed: Invalid configuration. The specified signature (signature-id) does not exist in the current library. Please check and delete it.