527
undo attack-defense policy
policy-name
Default
No attack defense policies exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
policy-name
: Assigns a name to the attack defense policy. The policy name is a case-insensitive
string of 1 to 31 characters. Valid characters include uppercase and lowercase letters, digits,
underscores (_), and hyphens (-).
Examples
# Create attack defense policy
atk-policy-1
and enter its view.
<Sysname> system-view
[Sysname] attack-defense policy atk-policy-1
[Sysname-attack-defense-policy-atk-policy-1]
Related commands
attack-defense apply policy
display attack-defense policy
attack-defense signature log non-aggregate
Use
attack-defense signature log non-aggregate
to enable log non-aggregation for single-packet
attack events.
Use
undo attack-defense signature log non-aggregate
to restore the default.
Syntax
attack-defense signature log non-aggregate
undo attack-defense
signature log non-aggregate
Default
Log non-aggregation is disabled for single-packet attack events.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
Log aggregation aggregates multiple logs generated during a period of time and sends one log. Logs
that are aggregated must have the following attributes in common:
•
Location where the attacks are detected: device.
•
Attack type.
•
Attack prevention action.