
Checking the Configuration
# Run the
display current-configuration | include icmp
command to check the configuration
of the highest rate at which ICMP packets are received.
<Huawei>
display current-configuration | include icmp
icmp rate-limit enable
icmp rate-limit threshold 120
7.4 Configuring the AR1200-S to Discard Specified ICMP
Packets
This section describes how to configure the AR1200-S to discard specified ICMP packets.
7.4.1 Establishing the Configuration Task
Before configuring the AR1200-S to discard specified ICMP packets, familiarize yourself with
the applicable environment, complete the pre-configuration tasks, and obtain the required data.
This can help you complete the configuration task quickly and accurately.
Applicable Environment
The AR1200-S receives a large number of ICMP packets from the network, and these packets
consume a lot of CPU resources. The AR1200-S can be configured to discard seldom-used ICMP
packets, including the ICMP packets with the TTL values of 1, with options, and with
unreachable destinations. This helps reduce the burden of processing ICMP packets that are
received on the AR1200-S, protecting CPU resources.
Pre-configuration Tasks
Before configuring the AR1200-S to discard specified ICMP packets, complete the following
task:
l
Setting parameters for the link layer protocols on the interfaces to ensure that the link layer
protocols are Up
Data Preparation
None.
7.4.2 Configuring the AR1200-S to Discard the ICMP Packets with
TTL Value of 1
This section describes how to configure the AR1200-S to discard the ICMP packets with the
TTL value of 1.
Context
The AR1200-S receives a large number of ICMP packets from the network, and these packets
consume a lot of CPU resources. The AR1200-S can be configured to discard the ICMP packets
with the TTL value of 1. This helps reduce the burden on the AR1200-S and protect CPU
resources.
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
7 ICMP Security Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
153