OcNOS DC : System Management Guide : Hardware System Diagnose Command Reference : Modifying Temperature Sensor Threshold Value
Modifying Temperature Sensor Threshold Value
Overview
Typically, the temperature policies of hardware equipments are predefined and enforced through hardware or software by hardware vendors. However, for hardwares without baseboard management controller (BMC) built-in, the temperature policies are managed through software from Network Operating System (NOS) vendors.
OcNOS is enhanced to manage the hardware temperature through new commands line interfaces from 6.5.3 release. These newly defined software policy based temperature control CLIs are compliance to the hardware vendor standards. However, to satisfy some users who wants to modify the present threshold values at their convenience can do so. They are willing to take risks by stretching the predefined threshold values by the hardware vendor.
However, IPI strongly recommends not to modify the default policy as it may lead to hardware component failure.
Feature Characteristics
Using this feature users can control both or any one of them based on the requirement.
the threshold values for each severity level and temperature sensor,
and
the system action upon a violation to either HALT, REBOOT or NONE.
The hardware's default policy is applied if no user configuration exists or is removed.
A warning message alerts users if they set thresholds beyond the “Emergency Max/Min” values or configure the policy to “none,” emphasizing the potential risks involved.
These commands are applicable only to EdgeCore and UfiSpace hardwares without BMC built-in.
Benefits
This feature enables an exceptional control for users. With the current default hardware temperature policy, when OcNOS detects the temperature threshold value violation, it shuts down the system to prevent hardware damage. Some customers have deployed the units in far remote areas, and whenever this happens it becomes troublesome for them to switch the units back ON. In such exceptional cases, enables the user to modify the predefined thresholds value and change the behaviors of the system to either REBOOT or NONE instead of HALT.
Prerequisites
The hardware should be up and active.
 
CLI Commands
The Chassis Management Module Commands section introduces the following new configuration commands.
temperature threshold
Use this command to set temperature threshold for each severity level of the sensor.
Use the no form of this command to set the default thresholds.
Command Syntax
temperature threshold <1-15>
no temperature threshold <1-15>
Parameters
 
Default
Check the default temperature thresholds using the show hardware-information temperature command.
Command Mode
Configuration Mode
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 1
OcNOS(config-temperature-threshold)#
The mode changes to temperature threshold mode.
#(config-temperature-threshold)#emer-min 5
#(config-temperature-threshold)#commit
 
To remove the configuration, execute:
OcNOS(config)#no temperature threshold 1
To view the current hardware temperature, execute
#show running-config |include temperature | emer-min
temperature threshold 1
emer-min 5
 
 
 
OcNOS#show hardware-information temperature
 
 
Board Temp Sensors Temperature in Degree C
------------------------------------------------------------------------------------------------------
SENSOR TYPE CURR EMER ALRT CRIT CRIT ALRT EMER MIN-TEMP MAX-TEMP AVG-TEMP
TEMP MIN MIN MIN MAX MAX MAX (Monitored since 72 hour,00 min)
 
------------------------------------------------------------------------------------------------------
[ 1] CPU 42.00 5 10 14 60 65 70 37.50 44.00 40.40
[ 2] Mainboard Front middle 37.50 0 10 14 60 65 70 33.50 39.50 36.41
[ 3] Mainboard Rear Left 35.00 0 10 14 60 65 70 32.00 36.50 33.92
[ 4] Mainboard Right 33.00 0 10 14 60 65 70 28.50 34.50 31.59
[ 5] BCM Chip 54.20 0 10 14 75 80 95 48.90 56.90 52.25
[ 6] Intel CPU Core ID 2 54.00 0 3 6 66 71 91 47.00 57.00 52.06
[ 7] Intel CPU Core ID 6 52.00 0 3 6 66 71 91 46.00 56.00 50.38
[ 8] Intel CPU Core ID 8 53.00 0 3 6 66 71 91 46.00 55.00 50.17
[ 9] Intel CPU Core ID 12 54.00 0 3 6 66 71 91 46.00 57.00 51.23
 
BCM Chip Internal Temperature
------------------------------------------
TEMP MONITOR CURRENT TEMP PEAK TEMP
(Degree C) (Degree C)
------------------------------------------
1 49.40 52.10
2 49.90 52.10
3 52.60 55.30
4 49.90 52.10
5 54.20 55.30
6 53.10 55.30
7 52.60 54.70
8 52.10 54.70
9 49.90 53.10
10 49.90 52.60
#
 
 
emer-max
Use this command to configure hardware emergency temperature threshold maximum value.
Use no parameter to remove the replace the configured emergency temperature maximum value to default threshold value.
Command Syntax
emer-max <-50-150>
no emer-max
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the emergency temperature sensor’s maximum threshold value, execute:
OcNOS(config-temperature-threshold)#emer-max 78
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no emer-max
 
emer-min
Use this command to configure hardware emergency temperature threshold minimum value.
Use no parameter to remove the replace the configured emergency temperature minimum value to default threshold value.
Command Syntax
emer-min <-50-150>
no emer-min
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the emergency temperature sensor’s minimum threshold value, execute:
OcNOS(config-temperature-threshold)#emer-min 1
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no emer-min
alrt-max
Use this command to configure hardware alert temperature threshold maximum value.
Use no parameter to remove the replace the configured alert temperature maximum value to default threshold value.
Command Syntax
alrt-max <-50-150>
no alrt-max
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the alert temperature sensor’s maximum threshold value, execute:
OcNOS(config-temperature-threshold)#alrt-max 73
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no alrt-max
alrt-min
Use this command to configure hardware alert temperature threshold minimum value.
Use no parameter to remove the replace the configured alert temperature minimum value to default threshold value.
Command Syntax
alrt-min <-50-150>
no alrt-min
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the alert temperature sensor’s minimum threshold value, execute:
OcNOS(config-temperature-threshold)#alrt-min 11
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no alrt-min
crit-max
Use this command to configure hardware critical temperature threshold maximum value.
Use no parameter to remove the replace the configured critical temperature maximum value to default threshold value.
Command Syntax
crit-max <-50-150>
no crit-max
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the critical temperature sensor’s maximum threshold value, execute:
OcNOS(config-temperature-threshold)#crit-max 69
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no crit-max
crit-min
Use this command to configure hardware critical temperature threshold minimum value.
Use no parameter to remove the replace the configured critical temperature minimum value to default threshold value.
Command Syntax
crit-min <-50-150>
no crit-min
Parameters
 
Default
None
Command Mode
Temperature-threshold
Applicability
Introduced in OcNOS version 6.5.3.
Example
To configure the hardware device temperature threshold value, execute:
OcNOS(config)#temperature threshold 2
OcNOS(config-temperature-threshold)#
The mode changes, to configure the critical temperature sensor’s minimum threshold value, execute:
OcNOS(config-temperature-threshold)#crit-min 15
 
The hardware threshold is over-written with user configured threshold. To unconfigure the user defined threshold values, execute:
OcNOS(config-temperature-threshold)#no crit-min
 
temperature policy (sys-reboot | sys-halt | none)
Use this command to configure the temperature policy.
Use no parameter to remove the configured temperature policy.
Command Syntax
temperature policy (sys-reboot | sys-halt | none)
no temperature policy
Parameters
 
 
Default
None
Command Mode
Configuration Mode
Applicability
Introduced in OcNOS version 6.5.3.
Example
Execute the following command to apply the temperature policy and reboot the system.
 
(config)#temperature policy sys-reboot
(config)#commit
(config)#no temperature policy
(config)#commit
Glossary
 
Key Terms/Acronym
Description
BMC
Baseboard Management Controller
NOS
Network Operating System