Chapter 3 EnergyWise CLI Commands

energywise query

Command Default

Command Modes

Command History

set level level

Sets the power level of the domain entities, including the PoE ports.

 

The range is from 0 to 10.

 

 

sum {delta usage}

Displays the summary of the power-usage information from domain

 

members and end points.

 

delta—Display the delta vector.

 

usage—Display the actual power usage.

 

 

The timeout value is 6 seconds.

Privileged EXEC

Release Modification

12.2(50)SE This command was introduced on the Catalyst 3750-E, 3750, 3560-E, 3560, and 2960 switches.

12.2(52)SE The timeout timeout keywords were added on the Catalyst 3750-E, 3750, 3560-E, 3560, and 2960 switches.

12.2(52)SG This command was introduced on Catalyst 4500 switches.

12.2(54)SG The timeout timeout keywords were added on Catalyst 4500 switches.

12.2(55)SE The default timeout value was changed from 3 seconds to 6 seconds.

12.2(33)SXI4 This command was introduced on the Catalyst 6500 switches. See the Cisco IOS Release Notes for Cisco EnergyWise, EnergyWise Phase 2 for the specific devices.

15.0(1)M2 This command was introduced on Cisco Integrated Service Routers Generation 2 (ISR G2), including Cisco 3900, 2900, and 1900 ISRs.

Usage Guidelines In the results from the sum keyword, the Responded total is not accurate. The Queried total is accurate and is the number of entities that respond to the query.

Caution Use this query with care. It affects the entity on which you enter the command and other domain devices that match the query criteria.

Examples

These examples show how to filter with the entity name.

 

 

 

 

 

 

 

Switch# energywise query importance 50 name phone* collect usage

 

 

 

 

 

EnergyWise query, timeout is 3 seconds:

 

 

 

 

 

 

 

 

Host

Name

Usage

 

Level

Imp

 

 

 

----

----

-----

 

-----

---

 

 

 

 

2.2.2.21

phone

0.0

(W)

10

1

 

 

 

 

2.2.2.21

phone

15.4

(W)

10

1

 

 

 

 

2.2.2.21

phoneA

0.0

(W)

10

1

 

 

 

 

2.2.2.22

phone

0.0

(W)

10

1

 

 

 

 

2.2.2.21

phoneB

0.0

(W)

10

1

 

 

 

 

2.2.2.22

phoneC

15.4

(W)

10

1

 

 

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3-16

 

 

 

 

 

 

OL-19806-03

 

 

 

 

 

 

 

 

 

Page 60
Image 60
Cisco Systems OL-19806-03 manual Set level level, Sum delta usage, Members and end points, Delta-Display the delta vector