cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
864
Views
0
Helpful
5
Replies

Cisco EnergyWise time-range...

Ivan Levadnyi
Level 1
Level 1

Good day, dear colleagues.

I need configure my PoE switches power OFF port at next time-range

At weekdays, power off at 20:00 power on at 8:00.

At weekend - power off all days.

I have next configuration port, example:

energywise level 10 recurrence importance 20 at 0 8 * * *
energywise level 0 recurrence importance 20 at 0 20 * * *
energywise level 0 recurrence importance 20 time-range weekend
energywise importance 20
energywise keywords IPphone+PC,All

time-range weekend
 periodic weekend 0:00 to 23:59

But it's doesn't work.

Need any suggestion.

Th's.

1 Accepted Solution

Accepted Solutions

energywise domain [HAKUNA MATATA] security shared-secret [PASSWORD]
energywise importance 60

!  Interface
interface range 
 energywise level 10 recurrence importance 70 time-range POWER_ON
 energywise level  0 recurrence importance 70 time-range TURN_OFF
 energywise importance 60

!  Time Range Power ON
time-range POWER_ON
 absolute start 00:00 01 January 2014
   periodic weekdays 8:00 to 20:00

!  Time Range Power OFF
time-range TURN_OFF
 absolute start 00:00 01 January 2014
   periodic weekdays 20:00 to 23:59
   periodic weekdays  0:00 to  8:00

With the config above, this means that power is OFF during the weekends.  

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

I am not at the office right now where my working EnergyWise configuration. 

 

 

I believe you have one too many EnergyWise configuration.  I also believe your time-range is incorrect.  The way the developers code the EnergyWise time range simply defies logic.  

 

You need to create TWO time-ranges.  One to specifically say when to turn OFF and another when to turn ON.  (Why can't you just use one and use logic for the opposite, I don't know.  Defies logic.)

 

I'll post my EnergyWise configuration when I get back to work in 24 hours.  

 

energywise domain [HAKUNA MATATA] security shared-secret [PASSWORD]
energywise importance 60

!  Interface
interface range 
 energywise level 10 recurrence importance 70 time-range POWER_ON
 energywise level  0 recurrence importance 70 time-range TURN_OFF
 energywise importance 60

!  Time Range Power ON
time-range POWER_ON
 absolute start 00:00 01 January 2014
   periodic weekdays 8:00 to 20:00

!  Time Range Power OFF
time-range TURN_OFF
 absolute start 00:00 01 January 2014
   periodic weekdays 20:00 to 23:59
   periodic weekdays  0:00 to  8:00

With the config above, this means that power is OFF during the weekends.  

[HAKUNA MATATA] :D Leo Laohoo, th's for your answer. But I need power off at weekend too. Correct my configuration if I'm not right: -------------------------------------------------------------------------------- time-range power_on absolute start 00:00 01 january 2014 end 00:00 01 january 2024 periodic weekdays 08:00 to 20:00 -------------------------------------------------------------------------------- time-range power_off absolute start 00:00 01 january 2014 end 00:00 01 january 2024 periodic weekdays 20:00 to 23:59 periodic weekdays 0:00 to 8:00 periodic weekend 0:00 to 23:59 -------------------------------------------------------------------------------- Th's for help)

Try my configuration.  Weekends are powered OFF.

I'll check, your configuration. Thank you.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: