![Cisco Catalyst 2350 Command Reference Manual Download Page 284](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583284.webp)
2-260
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
show env
show env
Use the
show env
user EXEC command to display fan, temperature, and power information for the
switch.
show env
{
all
|
fan
|
power
|
temperature
[
status
]} [ | {
begin
|
exclude
|
include
}
expression
]
Syntax Description
Command Modes
User EXEC
Command History
Usage Guidelines
Use the
show env
user EXEC command to display the information for the switch.
If you enter the
show env temperature status
command, the command output shows the switch
temperature state and the threshold level.
You can also use the
show env temperature
command to display the switch temperature status. The
command output shows the green and yellow states as
OK
and the red state as
FAULTY
. If you enter the
show env all
command, the command output is the same as the
show env temperature status
command
output.
Expressions are case sensitive. For example, if you enter
| exclude output
, the lines that contain
output
are not displayed, but the lines that contain
Output
are displayed.
Examples
This is an example of output from the
show env all
command on a switch:
Switch>
show env all
FAN is OK
TEMPERATURE is OK
Temperature Value: 42 Degree Celsius
Temperature State: GREEN
Yellow Threshold : 49 Degree Celsius
Red Threshold : 69 Degree Celsius
all
Display the fan and temperature environmental status and the status of the internal
power supply.
fan
Display the switch fan status.
power
Display the switch internal power status.
temperature
Display the switch temperature status.
temperature
status
(Optional) Display the switch internal temperature (not the external temperature)
and the threshold values.
| begin
(Optional) Display begins with the line that matches the
expression
.
| exclude
(Optional) Display excludes lines that match the
expression
.
| include
(Optional) Display includes lines that match the specified
expression
.
expression
Expression in the output to use as a reference point.
Release
Modification
12.2(46)EY
This command was introduced.