Cisco Systems OL-19806-03 manual Energywise query, Collect delta usage, Timeout timeout

Page 59

Chapter 3 EnergyWise CLI Commands

energywise query

energywise query

To display power information and to set the power level of domain members, use the energywise query command in privileged EXEC mode.

energywise query importance importance {keywords word,word,... name name} collect {delta usage} [timeout timeout]

energywise query importance importance {keywords word,word,... name name} set level level [timeout timeout]

energywise query importance importance {keywords word,word,... name name} sum {delta usage} [timeout timeout]

Syntax Description

importance importance

Only entities with importance values less than or equal to the specified value

 

 

respond to the query.

 

 

The importance range is from 1 to 100.

 

 

 

 

keywords word,word,...

Filters the results based on one or more keywords.

 

 

When specifying multiple keywords, separate the keywords with commas,

 

 

and do not use spaces between keywords.

 

 

You can enter alphanumeric characters and symbols such as #, (, $, !, and

 

 

&.

 

 

Do not enter an asterisk (*) or a blank space between the characters or

 

 

symbols.

 

 

 

 

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.

 

 

You can enter alphanumeric characters and symbols such as #, (, $, !, and

 

 

&.

 

 

Do not enter an asterisk (*) or a blank space between the characters or

 

 

symbols.

 

 

 

 

collect {delta usage}

Displays power-usage information in watts (W) from the domain members

 

 

and end points.

 

 

delta—Display 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—Display the actual power usage.

 

 

 

 

timeout timeout

(Optional) Sets the time in seconds that the management station waits for

 

 

query results.

 

 

The range is from 1 to 180.

 

 

 

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

OL-19806-03

 

 

3-15

 

 

 

 

 

Image 59
Contents Americas Headquarters Cisco EnergyWise Configuration GuideCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Conventions AudiencePurpose Preface For information about the Cisco network devices, see Related PublicationsObtaining Documentation, Support, and Security Guidelines Managing Single Entities Overview Domain members Network management stationsCreating an EnergyWise Domain Category Level Description Power LevelsSecure Domain Communication Definition DefaultsAttributes Recurring EventMIBs Management station Domain member Switch Connected to an IP PhoneSwitch and PC Scenario Switch Connected to a PCConfiguration Guidelines Cisco EnergyWise Configuration Guide This is the configuration for the PoE port Using the Call In-Progress FeaturePoE and EnergyWise Interactions EnergyWise Entity PoE Mode Auto Never StaticPreventing Network Access to a Non-Cisco End Point PC without Access to the EnergyWise Network and the Internet CLI Compatibility IssuesEnabling EnergyWise, Configuring Entity Attributes, Manually Managing PowerCommand Purpose Energywise management security Shared-secret 0 7 mgmt-password portEnergywise importance importance Energywise keywords word,wordEnergywise allow query save set Energywise name nameEnergywise neighbor hostname ip-address Energywise role roleShow energywise children Copy running-config startup-configInterface interface-id Energywise level levelEnergywise role role Energywise name nameEnergywise allow query set Configuring Recurring EventsShow running-config Energywise activitycheckMonday , Tuesday , Wednesday , Thursday , Friday Show energywise recurrence Copy running-config startup-configEnergywise level level recurrence importance Disabling EnergyWise Command Mode PurposeDayofmonth month Dayofweek timerange Examples To power on the lab IP phonesTo power off anIP phone connected to a PoE port Automatically Managing PowerPc-mgr If the time range has end times and days such asRunning Queries Managing Multiple EntitiesManaging Multiple Entities Running Queries Management station End point Domain member Multiple Switches Connected to Multiple End PointsKeywords word,word, ... name name collect Using Queries to Manage Power in the DomainDelta usage timeout timeout Energywise query importance importanceKeywords word,word, ... name name set level Optional Runs a query to power on or off the domain membersQuerying with the Name Attribute Verify the power levels Setting the Time-Out ValueOL-19806-03 EnergyWise CLI Commands Clear energywise neighbors Management Debug energywiseDebug energywise endpoint management EndpointEnergywise allow query save set Energywise global configurationDomain member, configures the switch to Save-Responds to a query to save the running configurationRole role Level levelName name Neighbor hostnameAllow query save set keywords were added Neighbors are not assigned Role is the model numberKeywords Management passwords Allow query set Energywise interface configurationNo energywise domain ActivitycheckTime-range Keywords word,wordRecurrence Importance importanceUdp port Command Default Command Modes Command HistorySecurity Absolute Command Description Protocol udp port Energywise domainSecurity Ntp-shared-secretUsage Guidelines Examples Command Modes Command HistoryRelated Commands Description Collect delta usage Timeout timeoutEnergywise query Delta-Display the delta vector Set level levelSum delta usage Members and end pointsSwitch# energywise query importance 90 name * collect delta Switch# energywise query importance 90 name * set level These examples show how to filter results with keywordsNeighbor-added Snmp-server enable traps energywiseEvent-occured Level-changeTo send only EnergyWise event traps to the NMS To send EnergyWise traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Configures EnergyWise on the PoE port Energywise global configurationEnables and configures EnergyWise on the entity Energywise interface configurationOL-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 Disclaimer Important NoticeCisco EnergyWise Configuration Guide Bewaar Deze Instructies Statement 1071-Warning DefinitionAvvertenza Importanti Istruzioni Sulla Sicurezza Warnung Wichtige SicherheitshinweiseGuarde Estas Instruções Aviso Instruções Importantes DE SegurançaGEM Disse Anvisninger Page OL-19806-03