HP VPN Firewall Appliances Attack Protection Command Reference
1
Attack detection and protection commands
attack-defense apply policy
Use attack-defense apply policy to apply an attack protection policy to a security zone.
Use undo attack-defense apply policy to restore the default.
Syntax
attack-defense apply policy policy-number
undo attack-defense apply policy
Default
No attack protection policy is applied to a security zone.
Views
Security zone view
Default command level
2: System level
Parameters
policy-number: Specifies the sequence number of an attack protection policy, in the range of 1 to 128.
Usage guidelines
The attack protection policy to be applied to a security zone must already be created by using the
attack-defense policy command.
One interface can be configured with only one attack protection policy. However, one policy can be
applied to multiple security zones.
Examples
# Apply attack protection policy 1 to security zone trust.
<Sysname> system-view
[Sysname] zone name trust
[Sysname-zone-trust] attack-defense apply policy 1
Related commands
• attack-defense policy
• display attack-defense policy
attack-defense logging enable
Use attack-defense logging enable to enable attack protection logging.
Use undo attack-defense logging enable to disable attack protection logging.
Syntax
attack-defense logging enable