247
undo memory-threshold [ slot slot-number [ cpu cpu-number ] ]
Default
• Minor alarm threshold: 96 MB.
• Severe alarm threshold: 64 MB.
• Critical alarm threshold: 48 MB.
• Normal state threshold: 128 MB.
Views
System view
Predefined user roles
network-admin
Parameters
minor minor-value: Specifies the minor alarm threshold. The value range for this argument is 0 to
884. This threshold must be equal to or less than the normal state threshold. Setting this threshold to
0 disables the minor alarm feature.
severe severe-value: Specifies the severe alarm threshold. The value range varies by the minor
alarm threshold value you specified. This threshold must be equal to or less than the minor alarm
threshold. Setting this threshold to 0 disables the severe alarm feature.
critical critical-value: Specifies the critical alarm threshold. The value range varies by the severe
alarm threshold value you specified. This threshold must be equal to or less than the severe alarm
threshold. Setting this threshold to 0 disables the critical alarm feature.
normal normal-value: Specifies the normal state threshold. The value range varies by the minor
alarm threshold value you specified. This threshold must be equal to or less than the total memory
size.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command sets free-memory thresholds for the master device.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
To ensure correct operation and improve memory efficiency, the system monitors the amount of free
memory space in real time. If the amount of free memory space exceeds a free-memory threshold,
the system generates an alarm notification and sends it to affected service modules or processes.
For more information about the thresholds, see Fundamentals Configuration Guide.
Examples
# Set the minor alarm, severe alarm, critical alarm, and normal state thresholds to 64 MB, 48 MB, 32
MB, and 96 MB, respectively.
<Sysname> system-view
[Sysname] memory-threshold minor 64 severe 48 critical 32 normal 96
Related commands
display memory-threshold
memory-threshold usage
Use memory-threshold usage to set the memory usage threshold.
Use undo memory-threshold usage to restore the default.