Cisco Systems OL-19806-03 manual Optional Runs a query to power on or off the domain members

Page 41

Chapter 2 Managing Multiple Entities

Examples

 

Command

Purpose

 

 

 

 

 

Step 2 energywise query importance importance

(Optional) Runs a query to power on or off the domain members,

 

 

{keywords word,word,... name name} set level

PoE ports, or end points.

 

 

level [timeout timeout]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Caution Use this query with care. It affects both the entity on

 

 

 

 

 

 

which you enter the command and other domain

 

 

 

 

 

 

entities that match the query criteria.

 

 

 

 

 

 

 

 

 

 

importance importance—Filters the results based on the

 

 

 

 

importance value. Only entities with values less than or equal

 

 

 

 

to the specified value appear. The importance range is from

 

 

 

 

1 to 100.

 

 

 

 

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

 

 

 

 

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.

 

 

 

 

set level level—Sets the power level of the entities or PoE

 

 

 

 

ports. The range is from 0 to 10.

 

 

 

 

(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.

 

 

 

 

 

 

 

 

Examples

Querying with the Name Attribute, page 2-6

Querying with Keywords, page 2-6

Querying to Set Power Levels, page 2-6

Setting the Time-Out Value, page 2-7

In these examples, Switch 1 and Switch 2 are in the same domain. The entity called shipping.1 is a PoE port on Switch 1, and the entity called shipping.2 is a PoE port on Switch 2.

Cisco EnergyWise Configuration Guide

 

OL-19806-03

2-5

 

 

 

Image 41
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 LevelsAttributes Definition DefaultsRecurring Event Secure Domain CommunicationMIBs 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 importance importance Shared-secret 0 7 mgmt-password portEnergywise keywords word,word Energywise management securityEnergywise neighbor hostname ip-address Energywise name nameEnergywise role role Energywise allow query save setInterface interface-id Copy running-config startup-configEnergywise level level Show energywise childrenEnergywise role role Energywise name nameShow running-config Configuring Recurring EventsEnergywise activitycheck Energywise allow query setMonday , 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 PointsDelta usage timeout timeout Using Queries to Manage Power in the DomainEnergywise query importance importance Keywords word,word, ... name name collectKeywords 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 Debug energywise endpoint management Debug energywiseEndpoint ManagementDomain member, configures the switch to Energywise global configurationSave-Responds to a query to save the running configuration Energywise allow query save setName name Level levelNeighbor hostname Role roleAllow query save set keywords were added Neighbors are not assigned Role is the model numberKeywords Management passwords No energywise domain Energywise interface configurationActivitycheck Allow query setRecurrence Keywords word,wordImportance importance Time-rangeUdp port Command Default Command Modes Command HistorySecurity Absolute Command Description Security Energywise domainNtp-shared-secret Protocol udp portUsage Guidelines Examples Command Modes Command HistoryRelated Commands Description Collect delta usage Timeout timeoutEnergywise query Sum delta usage Set level levelMembers and end points Delta-Display the delta vectorSwitch# energywise query importance 90 name * collect delta Switch# energywise query importance 90 name * set level These examples show how to filter results with keywordsEvent-occured Snmp-server enable traps energywiseLevel-change Neighbor-addedTo send only EnergyWise event traps to the NMS To send EnergyWise traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Enables and configures EnergyWise on the entity Energywise global configurationEnergywise 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 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