2-248
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
energywise query
Command Modes Privileged EXEC
Command History
Usage Guidelines To power on or power off ports, enter the energywise query {keywords word,word,... | name name} set
level level command.
Caution Use this query with care because it affects the entity on which you enter the command and
other devices in the domain that match the query criteria.
Examples These examples show how to filter with the entity name:
Switch# energywise query importance 100 name phone* collect usage
EnergyWise query, timeout is 3 seconds:
Host Name Usage
---- ---- -----
2.2.2.21 phone 0.0 (W)
2.2.2.21 phone 15.4 (W)
2.2.2.21 phone 0.0 (W)
2.2.2.22 phone 0.0 (W)
2.2.2.21 phone 0.0 (W)
2.2.2.22 phone 15.4 (W)
2.2.2.21 phone 0.0 (W)
2.2.2.23 phone 15.4 (W)
2.2.2.21 phone 0.0 (W)
Queried: 9 Responded: 9 Time: 0.26 seconds
Switch# energywise query importance 100 name * sum usage
EnergyWise query, timeout is 3 seconds:
Total Usage
-----------
346.3 (W)
Queried: 147 Responded: 147 Time: 0.121 seconds
Switch# energywise query importance 100 name lobby* collect usage
EnergyWise query, timeout is 3 seconds:
Host Name Usage
---- ---- -----
2.2.4.30 lobbyInterface.17 10.0 (W)
Queried: 1 Responded: 1 Time: 0.7 seconds
Switch# energywise query importance 100 name Fa1.0.4* sum usage
EnergyWise query, timeout is 3 seconds:
Release Modification
12.2(52)SG This command was introduced on the Catalyst 4500 series switch.