NOTE
By default, the alarm threshold for CPU usage is 80%, and the clear alarm threshold for 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
Two memory usage thresholds are set:
l Alarm threshold of memory usage: indicates that the system generates an alarm when the
memory usage reaches the alarm threshold.
l Clear alarm threshold of memory usage: indicates that the alarm is cleared when the CPU
usage falls below the clear 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 equal to or smaller than 128 MB, the alarm threshold for memory
usage is 90%.
l If the memory of an LPU ranges from 128 MB to 256 MB, the alarm threshold for memory
usage is 95%.
l If the memory of an LPU ranges from 256 MB to 512 MB, the alarm threshold for memory
usage is 95%.
l If the memory of an LPU is larger than 512 MB, the alarm threshold for 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.
Prerequisites
The configurations of for CPU and memory usage thresholds are complete.
Procedure
l Run the display cpu-usage configuration [ slot slot-id ] command to check CPU usage.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 9 Upgrade and Maintenance
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
210