395
To do…
Command…
Remarks
6.
Configure the device to drop
SYN flood attack packets or
use the TCP proxy.
defense syn-flood action
{
drop-
packet
|
trigger-tcp-proxy
}
Optional.
By default, the router only outputs
alarm logs if detecting an attack.
2.
Configure an ICMP flood attack protection policy:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter attack protection policy
view.
attack-defense policy
policy-
number
—
3.
Enable ICMP flood attack
protection.
defense icmp-flood enable
Required.
Disabled by default.
4.
Configure the global action
and silence thresholds for
ICMP flood attack
protection.
defense icmp-flood rate-threshold
high
rate-number
[
low
rate-
number
]
Optional.
By default, the action threshold is
1000 packets per second, and the
silence threshold is 750 packets per
second.
5.
Configure the action and
silence thresholds for ICMP
flood attack protection of a
specific IP address.
defense icmp-flood ip
ip-address
rate-threshold high
rate-number
[
low
rate-number
]
Optional.
Not specifically configured for an IP
address by default.
6.
Configure the device to drop
ICMP flood attack packets.
defense icmp-flood action drop-
packet
Optional.
By default, the device only outputs
alarm logs if detecting an attack.
3.
Configure a UDP flood attack protection policy:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter attack protection policy
view.
attack-defense policy
policy-
number
—
3.
Enable UDP flood attack
protection.
defense udp-flood enable
Required.
Disabled by default.
4.
Configure the global action
and silence thresholds for
UDP flood attack protection.
defense udp-flood rate-threshold
high
rate-number
[
low
rate-
number
]
Optional.
By default, the action threshold is
1000 packets per second, and the
silence threshold is 750 packets per
second.
5.
Configure the action and
silence thresholds for UDP
flood attack protection for a
specific IP address.
defense udp-flood ip
ip-address
rate-threshold high
rate-number
[
low
rate-number
]
Optional.
Not configured by default.
6.
Configure the device to drop
UDP flood attack packets.
defense udp-flood action drop-
packet
Optional.
By default, the device only outputs
alarm logs if detecting an attack.