display environment

Use display environment to display temperature information, including the temperature thresholds and the current temperature values.

Syntax

In standalone mode:

display environment [ slot slot-number ]

In IRF mode:

display environment [ chassis chassis-number [ slot slot-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

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.

Usage guidelines

In standalone mode, the command displays information about all temperature sensors on the device if you do not specify the slot slot-number option.

In IRF mode, the command displays information about all temperature sensors in the IRF fabric if you do not specify the chassis chassis-number option. If you specify the chassis chassis-number option but do not specify the slot slot-number option, the command displays information about all temperature sensors on the specified member.

If the temperature exceeds the high-temperature alarming threshold, verify that the device ventilation system is operating correctly and all empty slots are installed with a blank panel.

Examples

# In standalone mode, display information about all temperature sensors on the device.

<Sysname> display environment
System temperature information (degree centigrade):                            
 ----------------------------------------------------------------------         
Slot  Sensor    Temperature  Lower  Warning  Alarm  Shutdown                   
 0     hotspot 1 34           0      75       85     90                         
 0     hotspot 2 31           0      75       85     90                         
 0     hotspot 3 44           0      65       80     85                         
 0     hotspot 4 35           0      65       80     85                         
 0     hotspot 5 53           0      65       80     85                         
 1     hotspot 1 36           0      80       95     98                         
 1     hotspot 2 61           0      80       95     98                         
 1     hotspot 3 57           0      80       95     98                         
 1     hotspot 4 49           0      80       95     98

# In IRF mode, display information about all temperature sensors in the IRF fabric.

<Sysname> display environment
System temperature information (degree centigrade):                            
 ----------------------------------------------------------------------         
Chassis  Slot  Sensor    Temperature  Lower  Warning  Alarm  Shutdown 
 1       0     hotspot 1 34           0      75       85     90      
 1       0     hotspot 2 31           0      75       85     90      
 1       0     hotspot 3 44           0      65       80     85      
 1       0     hotspot 4 35           0      65       80     85      
 1       0     hotspot 5 53           0      65       80     85      
 1       1     hotspot 1 36           0      80       95     98      
 1       1     hotspot 2 61           0      80       95     98      
 1       1     hotspot 3 57           0      80       95     98      
 1       1     hotspot 4 49           0      80       95     98
 2       0     hotspot 1 34           0      75       85     90 
 2       0     hotspot 2 31           0      75       85     90 
 2       0     hotspot 3 44           0      65       80     85 
 2       0     hotspot 4 35           0      65       80     85 
 2       0     hotspot 5 53           0      65       80     85 
 2       1     hotspot 1 36           0      80       95     98 
 2       1     hotspot 2 61           0      80       95     98 
 2       1     hotspot 3 57           0      80       95     98 
 2       1     hotspot 4 49           0      80       95     98

Table 32: Command output

Field

Description

Temperature

Current temperature.

Lower

Low-temperature threshold.

Warning

High-temperature warning threshold.

Alarm

High-temperature alarming threshold.

Shutdown

High-temperature shutdown threshold. When the sensor temperature reaches the limit, the system shuts down automatically.