Environment sets the specification
Commercial switches are typically rated 0–50 °C in ventilated spaces. Factory panels, roadside cabinets, and rooftop enclosures regularly exceed that, and interior cabinet temperature is always higher than outside air.
Industrial switches are specified for that reality — the LS2T-8GT2SFP-HP is rated -40 °C to +65 °C, extending to +80 °C in ventilated cabinets, in an IP40 fanless metal body.

