F3215-HP Load Balancing Module Security Command Reference-6PW101

239
Attack detection and protection configuration
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 security zone can be configured with only one attack protection policy. If you apply multiple policies
to an interface, only the last one takes effect. However, one policy can be applied to multiple interfaces.
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.