
The system view is displayed.
Step 2
Run:
cpu-defend policy
policy-name
The attack defense policy view is displayed.
Step 3
Configure the rate limit.
l
Run:
packet-type
packet-type
rate-limit
rate-value
The rate limit for packets sent to the CPU is set. Excess packets are discarded.
l
Run:
deny
packet-type
packet-type
The AR1200-S is configured to discard packets of a specified type sent to the CPU. That is,
the rate limit for packets of the specified type to be sent to the CPU is 0.
By default, the AR1200-S applies the rate limit defined in the
default
attack defense policy to
the packets sent to the CPU.
----End
9.4.5 (Optional) Setting the Priority of Protocol Packets
After an attack defense policy is created, set the priorities of protocol packets in the attack defense
policy so that packets with higher priorities are processed first.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
cpu-defend policy
policy-name
The attack defense policy view is displayed.
Step 3
Run:
packet-type
packet-type
priority
priority-level
The priority of protocol packets sent to the CPU is set.
By default, the priority defined in the
default
attack defense policy is used for protocol packets
sent to the CPU.
----End
9.4.6 (Optional) Configuring the Rate Limit for All Packets Sent to
the CPU
After an attack defense policy is created, set the rate limit for all packets sent to the CPU in the
attack defense policy. The AR1200-S then randomly discards the packets that exceed the rate
limit to protect the CPU.
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
9 Local Attack Defense Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
175