< Home

temperature threshold

Function

The temperature threshold command sets the temperature alarm thresholds.

The undo temperature threshold command restores the default temperature alarm thresholds.

By default, the lower temperature threshold is -40°C on the S5720I-SI and S5735-S-I, and -3°C on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, and S5735S-S, and 0°C on other switch models, and the upper temperature threshold varies according to hardware of various models, ranging from 44°C to 88°C.

Format

temperature threshold slot { slot-id | all } lower-limit min-temperature upper-limit max-temperature

undo temperature threshold slot { slot-id | all }

Parameters

Parameter

Description

Value

slot slot-id

Specifies a slot ID.

The value depends on the device configuration.

all

Sets the temperature alarm threshold for all member switches in a stack.

-

lower-limit min-temperature

Specifies the lower temperature alarm threshold.

The value is an integer that ranges from -40 to 88.

min-temperature specifies the value of the temperature. The value of min-temperature varies according to device models. The minimum value of min-temperature is the default lower threshold.

In a stack of multiple member switches, when all is specified in the temperature threshold command and the temperature alarm thresholds of all member switches are set, the min-temperature value is the largest value among the lower temperature alarm thresholds of the member switches.

upper-limit max-temperature

Specifies the upper temperature alarm threshold.

The value is an integer that ranges from -40 to 88.

max-temperature specifies the value of the temperature. The value of max-temperature varies according to device models. The maximum value of max-temperature is the default upper threshold.

max-temperature must be at least 10 greater than min-temperature.

In a stack of multiple member switches, when all is specified in the temperature threshold command and the temperature alarm thresholds of all member switches are set, the max-temperature value is the smallest value among the upper temperature alarm thresholds of the member switches.

Views

system view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The device generates an alarm and records log information when the device temperature falls below the lower threshold or rises above the upper threshold.

Precautions

  • If the configured threshold values are out of the allowed range, the configuration fails and the upper and lower thresholds are restored to the maximum values.
  • Configuration commands are generated in a configuration file regardless of whether the configured threshold values are default values. These commands can be cleared only when the undo temperature threshold command is executed.

Example

# Set the lower temperature alarm threshold to 20°C and upper temperature alarm threshold to 60°C.
<HUAWEI> system-view
[HUAWEI] temperature threshold slot all lower-limit 20 upper-limit 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >