Cisco Systems OL-19806-03 manual Absolute

Page 55

Chapter 3 EnergyWise CLI Commands

energywise (interface configuration)

Usage Guidelines Before using the energywise activitycheck command, see the “Using the Call In-Progress Feature” section in the “Managing Single Entities” chapter.

If you enter the no energywise level command, the switch does not immediately change the power level to the default. The power level changes when the switch restarts or when you enter the energywise level level command.

For a recurring event, to configure multiple dates and times using the cron format (minute hour day_of_month month day_of_week)

Use a comma (,) to specify a list of values without spaces between the values, for example, 1,3,4,7,8.

Use a dash (-) to specify a range of values, for example, 1-6(same as 1,2,3,4,5,6).

Use an asterisk (*) for a wildcard.

Use a slash (/) to skip a specific number of values. For example

Enter */15 * * * * for the event occurs every 15 minutes.

Enter 0-59/3 * * * * or 0,20,40 for the event to occur every 20 minutes.

Enter */61 * * * * for the event to occur every hour.

Enter * */3 * * * or 0,3,6,9,12,15,18,21 for the event to occur every three hours.

For information about specifying the day_of_month and the day_of_week in the energywise level level recurrence importance importance at minute hour day_of_month month day_of_week command, see the “Configuration Guidelines” section in the “Managing Single Entities” chapter.

Examples

 

This example shows how to enable and configure EnergyWise on a port and how to configure a recurring

 

 

 

event.

 

 

 

 

 

 

 

Switch# configure terminal

 

 

 

 

 

 

 

Enter configuration commands, one per line. End with CNTL/Z.

 

 

 

Switch(config)# service password-encryption

 

 

 

Switch(config)# energywise domain cisco security shared-secret cisco protocol udp port

 

 

 

43440 ip 2.2.4.30

 

 

 

 

 

 

 

Switch(config)# time-range onfirstfloor

 

 

 

Switch(config-time-range)#absolute start 0:00 1 August 2009

 

 

 

Switch(config-time-range)# periodic weekdays 6:00

 

 

 

Switch(config-time-range)# periodic weekend 9:00

 

 

 

Switch(config)# time-range offfirstfloor

 

 

 

Switch(config-time-range)#absolute start 0:00 1 August 2009

 

 

 

Switch(config-time-range)# periodic weekdays 20:00

 

 

 

Switch(config-time-range)# periodic weekend 18:00

 

 

 

Switch(config)# interface gigabitethernet0/3

 

 

 

Switch(config-if)#energywise level 10 recurrence importance 70 time-range onfirstfloor

 

 

 

Switch(config-if)#energywise level 0 recurrence importance 70 time offfirstfloor

 

 

 

Switch(config-if)#energywise name floor.1

 

 

 

Switch(config-if)#energywise role pc-mgr

 

 

 

Switch(config-if)# end

 

 

 

 

 

 

 

 

Related Commands

 

Command

Description

 

 

 

 

 

 

 

 

absolute

Sets a specific time and day for a recurring event.

 

 

 

 

 

 

 

 

show energywise

Displays the EnergyWise settings and status.

 

 

 

 

 

 

 

 

show energywise domain

Displays the domain to which the entity belongs.

 

 

 

 

 

 

 

 

show energywise recurrences

Displays the recurring-event settings and status.

 

 

 

 

 

 

 

 

 

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-19806-03

 

 

 

 

3-11

 

 

 

 

 

 

 

Image 55
Contents Americas Headquarters Cisco EnergyWise Configuration GuideCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Purpose AudienceConventions 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 Energywise level level recurrence importance Copy running-config startup-configShow energywise recurrence Dayofmonth month Dayofweek timerange Command Mode PurposeDisabling EnergyWise 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 hostnameKeywords Neighbors are not assigned Role is the model numberAllow query save set keywords were added Management passwords Allow query set Energywise interface configurationNo energywise domain ActivitycheckTime-range Keywords word,wordRecurrence Importance importanceSecurity Command Default Command Modes Command HistoryUdp port Absolute Command Description Protocol udp port Energywise domainSecurity Ntp-shared-secretRelated Commands Description Command Modes Command HistoryUsage Guidelines Examples Energywise query Timeout timeoutCollect delta usage 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