9.5.1 Establishing the Configuration Task
Before setting CPU and memory usage thresholds, familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the data required for the
configuration. This will help you complete the configuration task quickly and accurately.
Applicable Environment
The CPU and memory are a key part of a device. A lot of routing information or fast route
algorithms in the system will consume a large number of CPU resources, affecting system
performance. As a result, the device is unable to process data in time, a lot of packets may be
lost, or the system may break down. All these will bring an incalculable loss to customers.
If alarms of high CPU and memory usage can be generated during data processing on the
router, the CPU and memory usage can be effectively monitored, and the system performance
can be optimized. This also allows the system to work properly.
Pre-configuration Tasks
Before setting CPU and memory usage thresholds, complete the following task:
l Making sure that the router is working properly
Data Preparation
To set CPU and memory usage thresholds, you need the following data.
No.
Data
1 CPU usage thresholds, including an alarm threshold and a clear alarm threshold
2 Memory usage threshold
9.5.2 Setting CPU Usage Thresholds
Setting CPU usage thresholds allows CPU usage to be monitored.
Context
Two CPU usage thresholds are set:
l Alarm threshold: indicates that the system generates an alarm when the CPU usage reaches
the alarm threshold.
l Clear alarm threshold: indicates that the alarm is cleared when the CPU usage falls below
the clear alarm threshold.
Procedure
Step 1 Run:
system-view
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration 9 Upgrade and Maintenance
Issue 02 (2011-10-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
191