Cisco Systems OL-19806-03 manual Using Queries to Manage Power in the Domain

Page 40

Chapter 2 Managing Multiple Entities

Using Queries to Manage Power in the Domain

Using Queries to Manage Power in the Domain

Beginning in privileged EXEC mode:

 

Command

Purpose

 

 

 

Step 1 energywise query importance importance

(Optional) Runs a query to display power information for the

 

{keywords word,word,... name name} collect

domain entities.

 

{delta usage} [timeout timeout]

importance importance—Only entities with importance

 

 

 

or

values less than or equal to the specified value respond to the

 

energywise query importance importance

query. The importance range is from 1 to 100.

 

 

 

{keywords word,word,... name name} sum

(Optional) keywords word,word—Filters the results based

 

{delta usage} [timeout timeout]

on one or more keywords.

 

 

(Optional) name name—Filters the results based on the

 

 

name. For the wildcard, use * or name* with the asterisk at

 

 

the end of the name phrase.

 

 

collect {delta usage}—Displays power-usage information

 

 

in watts (W) from the domain members and end points.

 

 

delta—Displays the delta vector with the difference

 

 

between the actual power usage and the maximum power

 

 

usage for each power level for what-if calculations.

 

 

usage—Displays the actual power usage.

 

 

sum {delta usage}—Displays the summary of the

 

 

power-usage information from domain members and end

 

 

points.

 

 

delta—Displays the delta vector.

 

 

usage—Displays the actual power usage.

 

 

Note In the results with 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.

 

 

(Optional) timeout timeout—Sets the time in seconds that

 

 

the management station waits for query results.

 

 

The default is 6 seconds. The range is from 1 to 180.

 

 

Repeat this step to run another query.

 

 

 

Cisco EnergyWise Configuration Guide

2-4

OL-19806-03

 

 

Image 40
Contents Cisco EnergyWise Configuration Guide Americas HeadquartersCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Purpose AudienceConventions 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 Energywise level level recurrence importance Copy running-config startup-configShow energywise recurrence Dayofmonth month Dayofweek timerange Command Mode PurposeDisabling 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 roleKeywords Neighbors are not assigned Role is the model numberAllow query save set keywords were added Management passwords Energywise interface configuration No energywise domainActivitycheck Allow query setKeywords word,word RecurrenceImportance importance Time-rangeSecurity Command Default Command Modes Command HistoryUdp port Absolute Command Description Energywise domain SecurityNtp-shared-secret Protocol udp portRelated Commands Description Command Modes Command HistoryUsage Guidelines Examples Energywise query Timeout timeoutCollect 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