924
threshold
threshold-value
: Specifies the threshold for triggering UDP flood attack prevention. The
value range is 1 to 64000 in units of UDP packets sent to the specified IP address per second.
action
: Specifies the actions when a UDP flood attack is detected. If no action is specified, the global
actions set by the
udp-flood action
command apply.
drop
: Drops subsequent UDP packets destined for the protected IP address.
logging
: Enables logging for UDP flood attack events.
none
: Takes no action.
Usage guidelines
With UDP flood attack detection configured for an IP address, the device is in attack detection state.
When the sending rate of UDP packets to the IP address reaches the threshold, the device enters
prevention state and takes the specified actions. When the rate is below the silence threshold
(three-fourths of the threshold), the device returns to the attack detection state.
Examples
# Configure UDP flood attack detection for 192.168.1.2 in the attack defense policy
atk-policy-1
.
<Sysname> system-view
[Sysname] attack-defense policy atk-policy-1
[Sysname-attack-defense-policy-atk-policy-1] udp-flood detect ip 192.168.1.2 threshold
2000
Related commands
udp-flood action
udp-flood detect non-specific
udp-flood threshold
udp-flood detect non-specific
Use
udp-flood detect non-specific
to enable global UDP flood attack detection.
Use
undo udp-flood detect non-specific
to disable global UDP flood attack detection.
Syntax
udp-flood detect non-specific
undo udp-flood detect non-specific
Default
Global UDP flood attack detection is disabled.
Views
Attack defense policy view
Predefined user roles
network-admin
Usage guidelines
The global UDP flood attack detection applies to all IP addresses except for those specified by the
udp-flood detect
command. The global detection uses the global trigger threshold set by the
udp-flood threshold
command and global actions specified by the
udp-flood action
command.
Examples
# Enable global UDP flood attack detection in the attack defense policy
atk-policy-1
.
<Sysname> system-view