4-16
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 4 Configuring Cisco EnergyWise
Troubleshooting EnergyWise

Querying with Keywords

To show the power usage of IP phones with different names, different roles, and importance values less
than or equal to 80, but all with the Admin keyword, run this query on Switch 1:
Switch# energywise query importance 80 keyword Admin collect usage
EnergyWise query, timeout is 3 seconds:
Host Name Usage
---- ---- -----
192.168.40.2 shipping.1 6.3 (W)
192.168.50.2 orders.1 10.3 (W)
Queried: 2 Responded: 2 Time: 0.5 seconds
Switch 1 reports two phones are connected to Switch 2, a neighbor of Switch 1.

Querying to Set Power Levels

Run these queries on Switch 1 to
Set the power level of the shipping.2 entity to 0:
Switch# energywise query importance 80 name shipping.2 set level 0
Manually set the power level of the shipping.1 entity and the shipping.2 entity to 0:
Switch# energywise query importance 90 name shipping.* set level 0
Set the power level of entities with the keyword Admin to 10:
Switch# energywise query importance 60 keyword Admin set level 10
EnergyWise query, timeout is 3 seconds:
!!!!
Success rate is (2/2) setting entities
Queried: 2 Responded: 2 Time: 0.15 seconds
Verify the power levels:
Switch# energywise query importance 85 keyword Admin collect usage
EnergyWise query, timeout is 3 seconds:
Host Name Usage
---- ---- -----
192.168.40.2 shipping.1 0.0 (W)
192.168.50.2 orders.1 0.0 (W)
Queried: 2 Responded: 2 Time: 0.9 seconds
You can also use the show energywise usage privileged EXEC command on Switch 1 and Switch 2
to verify the power levels.
Troubleshooting EnergyWise
Using CLI Commands, page 4-17
Verifying the Power Usage, page 4-17