temperature-threshold

Function

The temperature-threshold command sets temperature alarm thresholds of a board.

The undo temperature-threshold command deletes temperature alarm thresholds of a board.

By default,the temperature alarm threshold is set to 100% of the original threshold.

Format

temperature-threshold slot slot-id i2cid i2cid_address address address channel channel-id minor minor-value major major-value fatal fatal-value [ tmin tmin-value tmax tmax-value ]

undo temperature-threshold slot slot-id i2cid i2cid_address address address channel channel-id

Parameters

Parameter Description Value
i2cid i2cid_address

ID of the I2C bus.

The value is an integer that ranges from 0 to 255.

address address

Address of the I2C bus.

The value is an integer that ranges from 0 to 1000.

channel channel-id

Channel ID of the I2C bus.

The value is an integer ranging from 0 to 255.

minor minor-value

Minor alarm threshold of a board.

The value is an integer ranging from 80 to 120, in percentage.

major major-value

Major alarm threshold of a board. The major alarm threshold must be greater than the minor alarm threshold.

The value is an integer ranging from 80 to 120, in percentage.

fatal fatal-value

Fatal temperature alarm threshold of a board. The fatal temperature alarm threshold must be greater than the major temperature alarm threshold.

The value is an integer ranging from 80 to 120, in percentage.

tmin tmin-value

The lowest temperature from which fans adjust the speed automatically.

The value is an integer ranging from -50 to 127, in C degrees Celsius.

tmax tmax-value

The highest temperature to which fans adjust the speed automatically. The highest temperature must be equal or higher than the lowest temperature.

The value is an integer ranging from -50 to 127, in C degrees Celsius.

slot slot-id

Slot ID of a board.

You can run the display temperature command to view information about all temperature monitoring points, such as the slot numbers and I2C bus numbers.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

When environment conditions change, a user can use the temperature-threshold command to adjust temperature alarm thresholds so that the system can detect board temperature changes accurately.

When fans work in auto-speed mode, the fan speed changes automatically with the board temperature. When the board temperature is lower than tmin tmin-value, fans rotate at the lowest speed. When the board temperature is higher than tmax tmax-value, fans rotate at the highest speed. When the board temperature ranges from tmin tmin-value to tmax tmax-value, the fan speed is adjusted between the lowest rotating speed and the highest rotating speed automatically. The tmin tmin-value and tmax tmax-value must be configured properly to ensure normal heat dissipation.

Precautions

In VS mode, this command is supported only by the admin VS.

Running this command may affect the fan speed adjustment. Generally, you are advised to set Minor value higher than FanTMax value

If the Minor is smaller than FanTmax and the temperature monitoring point is higher than the minor value, a high temperature alarm is reported and the fans are forced to rotate at full speed. This conflicts with the policy that the fans should adjust their speed according to the values of FanTmin and FanTmax.

Example

# Set the minor alarm threshold to 80% of the original threshold, the major alarm threshold to 85% of the original threshold, and the fatal alarm threshold to 95% of the original threshold.
<HUAWEI> system-view
[~HUAWEI] display temperature slot 1
[~HUAWEI] temperature-threshold slot 1 i2cid 1 address 3 channel 0 minor 80 major 85 fatal 95
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >