R3303-HP HSR6800 Routers Security Command Reference
450
Examples
# Configure attack protection policy 1 to drop UDP flood packets.
<Sysname> system-view
[Sysname] attack-defense policy 1
[Sysname-attack-defense-policy-1] defense udp-flood action drop-packet
Related commands
• defense udp-flood enable
• defense udp-flood ip
• defense udp-flood rate-threshold
• display attack-defense policy
defense udp-flood enable
Use defense udp-flood enable to enable UDP flood attack protection.
Use undo defense udp-flood enable to restore the default.
Syntax
defense udp-flood enable
undo defense udp-flood enable
Default
UDP flood attack protection is disabled.
Views
Attack protection policy view
Default command level
2: System level
Examples
# Enable UDP flood attack protection in attack protection policy 1.
<Sysname> system-view
[Sysname] attack-defense policy 1
[Sysname-attack-defense-policy-1] defense udp-flood enable
Related commands
• defense udp-flood action drop-packet
• defense udp-flood rate-threshold
• defense udp-flood ip
• display attack-defense policy
defense udp-flood ip
Use defense udp-flood ip to configure the action and silence thresholds for UDP flood attack protection
of a specific IP address.
Use undo defense udp-flood ip to remove the configuration.