Cisco Systems OL-19806-03 manual Automatically Managing Power

Page 35

Chapter 1 Managing Single Entities

Examples

To power off anIP phone connected to a PoE port:

Switch# configure terminal

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

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

Switch(config)# interface gigabitethernet0/2

Switch(config-if)#energywise importance 65

Switch(config-if)#energywise name labphone.5

Switch(config-if)#energywise role role.labphone

Switch(config-if)# energywise level 0

Switch(config-if)# end

The switch powers the IP phone regardless of whether or not EnergyWise is enabled.

Automatically Managing Power

The lab IP phones automatically power on at 0800 and power off at 2000.

Switch# configure terminal

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

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

Switch(config)# interface gigabitethernet1/0/3

Switch(config-if)#energywise level 10 recurrence importance 90 at 0 8 * * *

Switch(config-if)#energywise level 0 recurrence importance 90 at 0 20 * * *

Switch(config-if)#energywise importance 50

Switch(config-if)#energywise name labInterface.3

Switch(config-if)#energywise role role.labphone

Switch(config-if)# end

Switch# show energywise recurrences

Id

Addr

Class Action

Lvl

Cron

 

 

--

----

----- ------

---

----

 

 

1

Gi0/3

QUERY

SET

10

minutes: 0

hour:

8 day: * month: * weekday: *

2

Gi0/3

QUERY

SET

0

minutes: 0

hour:

20 day: * month: * weekday: *

Switch# show running-config<output truncated> interface GigabitEthernet0/3

energywise level 10 recurrence at 0 8 * * *

energywise level 0 recurrence at 0 20 * energywise importance 50

energywise role role.labphone energywise name labInterface.3

end

<output truncated>

 

 

The PCs on the first floor automatically power on at 0600 and power off at 2000.

 

 

Switch# configure terminal

 

 

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

 

 

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:11

 

 

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

 

 

Switch(config)# time-range offfirstfloor

 

 

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

 

 

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

 

 

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

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

OL-19806-03

 

 

1-27

 

 

 

 

 

Image 35
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-config Energywise 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