Cisco Systems OL-19806-03 manual Set level level, Sum delta usage, Members and end points

Page 60

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

 

 

 

 

 

 

 

 

 

Image 60
Contents Cisco EnergyWise Configuration Guide Americas HeadquartersCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Audience PurposeConventions Preface Related Publications For information about the Cisco network devices, seeObtaining Documentation, Support, and Security Guidelines Managing Single Entities Overview Network management stations Domain membersCreating an EnergyWise Domain Power Levels Category Level DescriptionDefinition Defaults AttributesRecurring Event Secure Domain CommunicationMIBs Switch Connected to an IP Phone Management station Domain memberSwitch Connected to a PC Switch and PC ScenarioConfiguration Guidelines Cisco EnergyWise Configuration Guide Using the Call In-Progress Feature This is the configuration for the PoE portEnergyWise Entity PoE Mode Auto Never Static PoE and EnergyWise InteractionsPreventing Network Access to a Non-Cisco End Point CLI Compatibility Issues PC without Access to the EnergyWise Network and the InternetManually Managing Power Enabling EnergyWise, Configuring Entity Attributes,Command Purpose Shared-secret 0 7 mgmt-password port Energywise importance importanceEnergywise keywords word,word Energywise management securityEnergywise name name Energywise neighbor hostname ip-addressEnergywise role role Energywise allow query save setCopy running-config startup-config Interface interface-idEnergywise level level Show energywise childrenEnergywise name name Energywise role roleConfiguring Recurring Events Show running-configEnergywise activitycheck Energywise allow query setMonday , Tuesday , Wednesday , Thursday , Friday Copy running-config startup-config Energywise level level recurrence importanceShow energywise recurrence Command Mode Purpose Dayofmonth month Dayofweek timerangeDisabling EnergyWise To power on the lab IP phones ExamplesAutomatically Managing Power To power off anIP phone connected to a PoE portIf the time range has end times and days such as Pc-mgrManaging Multiple Entities Running QueriesManaging Multiple Entities Running Queries Multiple Switches Connected to Multiple End Points Management station End point Domain memberUsing Queries to Manage Power in the Domain Delta usage timeout timeoutEnergywise query importance importance Keywords word,word, ... name name collectOptional Runs a query to power on or off the domain members Keywords word,word, ... name name set levelQuerying with the Name Attribute Setting the Time-Out Value Verify the power levelsOL-19806-03 EnergyWise CLI Commands Clear energywise neighbors Debug energywise Debug energywise endpoint managementEndpoint ManagementEnergywise global configuration Domain member, configures the switch toSave-Responds to a query to save the running configuration Energywise allow query save setLevel level Name nameNeighbor hostname Role roleNeighbors are not assigned Role is the model number KeywordsAllow query save set keywords were added Management passwords Energywise interface configuration No energywise domainActivitycheck Allow query setKeywords word,word RecurrenceImportance importance Time-rangeCommand Default Command Modes Command History SecurityUdp port Absolute Command Description Energywise domain SecurityNtp-shared-secret Protocol udp portCommand Modes Command History Related Commands DescriptionUsage Guidelines Examples Timeout timeout Energywise queryCollect delta usage Set level level Sum delta usageMembers and end points Delta-Display the delta vectorSwitch# energywise query importance 90 name * collect delta These examples show how to filter results with keywords Switch# energywise query importance 90 name * set levelSnmp-server enable traps energywise Event-occuredLevel-change Neighbor-addedTo send EnergyWise traps to the NMS To send only EnergyWise event traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Energywise global configuration Enables and configures EnergyWise on the entityEnergywise interface configuration Configures EnergyWise on the PoE portOL-19806-03 Using CLI Commands Verifying the Power Usage Cisco EnergyWise and Catalyst 4500 Switches OL-19806-03 Cisco EnergyWise and Catalyst 6500 Switches OL-19806-03 Important Notice DisclaimerCisco EnergyWise Configuration Guide Statement 1071-Warning Definition Bewaar Deze InstructiesWarnung Wichtige Sicherheitshinweise Avvertenza Importanti Istruzioni Sulla SicurezzaAviso Instruções Importantes DE Segurança Guarde Estas InstruçõesGEM Disse Anvisninger Page OL-19806-03