2-286
Catalyst 2960 Switch Command Reference
78-16882-01
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show env
show env
Use the show env user EXEC command to display fan, temperature, redundant power system (RPS)
availability, and power information for the switch.
show env {all | fan | power | rps| temperature} [ | {begin | exclude | include} expression]
Syntax Description
Command Modes User EXEC
Command History
Usage Guidelines 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:
Switch> show env all
FAN is OK
TEMPERATURE is OK
POWER is OK
RPS is AVAILABLE
This is an example of output from the show env fan command:
Switch> show env fan
FAN is OK
all Display both fan and temperature environmental status.
fan Display the switch fan status.
power Display the switch power status.
rps Display whether an RPS 300 Redundant Power System is connected to the switch.
temperature Display the switch temperature status.
| 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(25)FX This command was introduced.