Cisco Systems OL-19806-03 manual These examples show how to filter results with keywords

Page 62

Chapter 3 EnergyWise CLI Commands

energywise query

These examples show how to change the power level of all the domain members and end points.

Switch# energywise query importance 90 name * set level 0 EnergyWise query, timeout is 3 seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!

Success rate is (48/48) setting entities

Queried: 48

Responded: 48

Time: 0.996 seconds

Switch# energywise query importance 90 name * set level 10

EnergyWise query, timeout is 3 seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!

Success rate is (48/48) setting entities

Queried: 48

Responded: 48

Time: 0.996 seconds

These examples show how to filter results with keywords.

Switch(config)# interface gigabitethernet0/2

Switch(config-if)#energywise keywords lobby,sattelite

Switch(config-if)#energywise keywords public

Switch(config-if)# end

Switch# show running-config interface gigabitethernet0/2

!

interface GigabitEthernet0/2

energywise level 0 recurrence importance 90 at 0 8 * * *

energywise level 10 recurrence importance 90 at 0 20 * * *

energywise importance 50 energywise role role.lobbyaccess energywise keywords lobby,sattelite,public energywise name lobbyInterface.2

end

Switch# energywise query importance 90 keyword lobby collect usage

EnergyWise query, timeout is 3 seconds:

Host

Name

 

Usage

 

Level

Imp

----

----

 

-----

 

-----

---

2.2.4.30

lobbyInterface.17

15.4

(W)

10

1

2.2.5.30

pc.1

 

200.0

(W)

8

85

2.2.6.30

pc.2

 

200.0

(W)

8

85

Queried: 3

Responded: 3

Time:

1.1 seconds

 

 

 

Switch# energywise query importance 90 keyword lobby sum usage

EnergyWise query, timeout is 3 seconds:

Total

Usage

 

 

-----------

 

 

415.4

(W)

 

 

Queried: 3

Responded: 3

Time: 0.11 seconds

 

Cisco EnergyWise Configuration Guide

3-18

OL-19806-03

Image 62
Contents Cisco EnergyWise Configuration Guide Americas HeadquartersCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Conventions AudiencePurpose 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 DescriptionRecurring Event Definition DefaultsAttributes 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 Energywise keywords word,word Shared-secret 0 7 mgmt-password portEnergywise importance importance Energywise management securityEnergywise role role Energywise name nameEnergywise neighbor hostname ip-address Energywise allow query save setEnergywise level level Copy running-config startup-configInterface interface-id Show energywise childrenEnergywise name name Energywise role roleEnergywise activitycheck Configuring Recurring EventsShow running-config 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 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 memberEnergywise query importance importance Using Queries to Manage Power in the DomainDelta usage timeout timeout 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 Endpoint Debug energywiseDebug energywise endpoint management ManagementSave-Responds to a query to save the running configuration Energywise global configurationDomain member, configures the switch to Energywise allow query save setNeighbor hostname Level levelName name Role roleAllow query save set keywords were added Neighbors are not assigned Role is the model numberKeywords Management passwords Activitycheck Energywise interface configurationNo energywise domain Allow query setImportance importance Keywords word,wordRecurrence Time-rangeUdp port Command Default Command Modes Command HistorySecurity Absolute Command Description Ntp-shared-secret Energywise domainSecurity Protocol udp portUsage Guidelines Examples Command Modes Command HistoryRelated Commands Description Collect delta usage Timeout timeoutEnergywise query Members and end points Set level levelSum delta usage 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 levelLevel-change Snmp-server enable traps energywiseEvent-occured 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 interface configuration Energywise global configurationEnables and configures EnergyWise on the entity 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