Command Reference Threshold Commands
Threshold Commands
threshold set
Use this command to set the threshold value for the device. Use the no form of this command to
restore the default value.
threshold set {cpu | memory | temperature} warning_value [critical_value]
no threshold set {cpu | memory | temperature}
Parameter
Description
Parameter Description
cpu | memory |
temperature
Specifies the threshold type.
cpu indicates the CPU utilization threshold.
memory indicates the memory utilization threshold.
temperature indicates the temperature threshold.
warning_value
Configures the warning threshold.
The range of CPU and memory utilization threshold is from 1 to 100.
The range of temperature threshold is 0 to 200.
critical_value
Configures the critical threshold, which must be greater than the
warning threshold.
The range of CPU and memory utilization threshold is from 1 to 100.
The range of temperature threshold is 0 to 200.
Defaults
CPU threshold: warning threshold: 90; critical threshold: 100.
Memory threshold: warning threshold: 90; critical threshold: 100.
Temperature threshold: warning threshold: 90; critical threshold: 100.
Command
mode
Global configuration mode
Usage Guide
You can use this command to configure the thresholds of CPU utilization, memory utilization and
temperature. These thresholds can be read through MIB to learn the CPU and memory usage. There
is no related syslog for the threshold.
Configuration
Examples
The following example sets the memory utilization threshold.
Ruijie(config)# threshold set memory 70 90
The following example sets the CPU utilization threshold.
Ruijie(config)# threshold set cpu 70 90
The following example sets the temperature threshold.
Ruijie(config)# threshold set temperature 60 80