Option 82 configuration example, Disabling forwarding icmp fragments, Enabling icmp flow control – H3C Technologies H3C S12500 Series Switches User Manual
Page 110: Configuration procedure

97
•
A device's performance degrades if it receives a lot of malicious packets that cause it to respond
with ICMP error packets.
•
A host's performance degrades if the redirect function adds many routes to its routing table.
•
End users are affected if malicious users send many ICMP destination unreachable packets.
To prevent such problems, you can disable the device from sending ICMP error packets.
247B
Configuration procedure
To enable sending ICMP error packets:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable sending ICMP
error packets.
•
Enable sending ICMP redirect packets:
ip redirects enable
•
Enable sending ICMP time-exceeded
packets:
ip ttl-expires enable
•
Enable sending ICMP destination
unreachable packets:
ip unreachables enable
The default settings are
disabled.
A device disabled from sending ICMP time-exceeded packets does not send ICMP TTL Expired packets
but can still send ICMP Fragment Reassembly Timeout packets.
107B
Disabling forwarding ICMP fragments
Disabling forwarding ICMP fragments can protect your device from ICMP fragments attacks.
To disable forwarding ICMP fragments:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Disable forwarding ICMP fragments.
ip icmp fragment discarding
By default, forwarding ICMP
fragments is enabled.
108B
Enabling ICMP flow control
Delivering a large number of ICMP packets to the CPU impacts the processing of other services. To
prevent this situation, you can enable ICMP flow control.
To enable ICMP flow control:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches