temperature-limit
Use temperature-limit to set the temperature alarm thresholds for the device.
Use undo temperature-limit to restore the default.
Syntax
In standalone mode:
temperature-limit slot slot-number hotspot sensor-number lowlimit warninglimit [ alarmlimit ]
undo temperature-limit slot slot-number hotspot sensor-number
In IRF mode:
temperature-limit chassis chassis-number { slot slot-number } hotspot sensor-number lowlimit warninglimit [ alarmlimit ]
undo temperature-limit chassis chassis-number { slot slot-number } hotspot sensor-number
Default
To view the default settings, use the undo temperature-limit command to restore the defaults and then execute the display environment command.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
chassis chassis-number: Specifies an IRF member device by its member ID. (In IRF mode.)
slot slot-number: Specifies a card by its slot number.
hotspot: Configures temperature alarm thresholds for hotspot sensors. A hotspot sensor is typically near the chip that generates a great amount of heat and used to monitor the chip.
sensor-number: Specifies a sensor by its number, an integer starting from 1. Each number represents a temperature sensor on the device or card.
lowlimit: Specifies the low-temperature threshold in Celsius degrees.
warninglimit: Specifies the high-temperature warning threshold in Celsius degrees. This threshold must be greater than the low-temperature threshold.
alarmlimit: Specifies the high-temperature alarming threshold in Celsius degrees. This threshold must be greater than the high-temperature warning threshold.
Usage guidelines
The sensor numbers and threshold value ranges vary by card model. Use the CLI online help system to view the value ranges.
When the device temperature drops below the low-temperature threshold or reaches the high-temperature warning threshold, the device sends a log message and a trap.
When the device temperature reaches the high-temperature alarming threshold, the device sends log messages and traps repeatedly, and sets LEDs on the device panel.
When the temperature of an LPU reaches the high-temperature shutdown threshold, the device sends a log message and shuts down the LPU.
The shutdown temperature thresholds are not configurable.
Examples
# In standalone mode, set the low-temperature threshold for hotspot sensor 1 on the card in slot 1 to –10°C (14°F), the warning threshold to 70°C (158°F), and the alarming threshold to 90°C (194°F).
<Sysname> system-view [sysname] temperature-limit slot 1 hotspot 1 -10 70 90
# In IRF mode, set the low-temperature threshold for hotspot sensor 1 on the card in slot 1 on IRF member device 1 to –10°C (14°F), the warning threshold to 70°C (158°F), and the alarming threshold to 90°C (194°F).
<Sysname> system-view [sysname] temperature-limit chassis 1 slot 1 hotspot 1 -10 70 90