The system view is displayed.
Step 2 Run:
set cpu-usage threshold threshold-value [ restore restore-threshold-value ] [ slot
slot-id ]
An alarm threshold and a clear alarm threshold are set for the CPU usage on an MPU or an LPU
in a specified slot.
NOTE
By default, the alarm threshold of CPU usage is 80%, and the clear alarm threshold of CPU usage is 75%.
----End
9.5.3 Setting a Memory Usage Threshold
Setting a memory usage threshold allows memory usage to be monitored.
Context
Alarm threshold of memory usage: indicates that the system generates an alarm when the
memory usage reaches the alarm threshold.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
set memory-usage threshold threshold-value
An alarm threshold is set for memory usage.
Default settings are as follows:
l If the memory of an LPU is smaller than 128 MB, the alarm threshold of memory usage is
80%.
l If the memory of an LPU ranges from 128 MB to 256 MB, the alarm threshold of memory
usage is 85%.
l If the memory of an LPU ranges from 256 MB to 512 MB, the alarm threshold of memory
usage is 90%.
l If the memory of an LPU is larger than 512 MB, the alarm threshold of memory usage is
95%.
----End
9.5.4 Checking the Configuration
After CPU and memory usage thresholds are set, you can view information about the CPU usage
and memory usage.
Prerequisite
The configurations of CPU and memory usage are complete.
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.
192