Situatie
To check a network switch’s temperature, use vendor-specific CLI commands like show system temperature (Aruba/HPE), show chassis environment (Juniper), show temperature (Extreme), or display device temperature (Huawei), often requiring admin privileges to view current sensor readings, thresholds, and fan status for cooling management.
Solutie
Common Network Switch Commands
Cisco:
show environment temperature
show env all (provides general health, including temperature status)
Aruba / HPE:
show system temperature
show environment temperature (AOS-CX)
Broadcom / Brocade:
tempshow
Huawei:
display temperature all
display device temperature all
display temperature -a
Juniper:
show chassis environment
Extreme Networks:
show temperature
show sys-info temperature
CommScope (Ruckus/ICX):
show chassis
Checking Temperature via Command Line (PC)
If you are referring to a computer rather than a network switch:
Windows (Command Prompt): Use the following command to query temperature via WMI:
wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature
(Note: The result is in tenths of Kelvin. To convert to Celsius, divide by 10 and subtract 273.15).
Linux: Use the command sensors (requires the lm-sensors package).
Typical Output Information
Most switch commands will display:
Current Temperature: The actual reading in Celsius or Fahrenheit.
Thresholds: Warning (Minor), Critical (Major), and Shutdown (Fatal) levels.
Status: Usually listed as “OK,” “Normal,” or “Abnormal”.
Leave A Comment?