cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12938
Views
21
Helpful
6
Replies

How to automatically shutdown PoE ports on 2960 switch during night

ramcm.rr
Level 1
Level 1

Hello,

I would like to save power by scheduling the PoE switch ports on my switches to shutdown every night and turn on at a specified time during day. Does anyone know how to do it?

Thanks,

Ram

1 Accepted Solution

Accepted Solutions

chris.macleod
Level 1
Level 1

Have a look at the feature "energywise"  Should be supported on your switch - might need to upgrade the IOS.

Sample from my config (3560) 

Global

energywise domain xxx secret 0 xxx

energywise management 43440

Interface

energywise level 0 recurrence importance 90 at 00 22 * * 1-6

energywise level 10 recurrence importance 90 at 00 07 * * 1-6

I turned my POE power off on a per interface basis at 10pm then back on again at 7am. 

thanks

Chris

View solution in original post

6 Replies 6

chris.macleod
Level 1
Level 1

Have a look at the feature "energywise"  Should be supported on your switch - might need to upgrade the IOS.

Sample from my config (3560) 

Global

energywise domain xxx secret 0 xxx

energywise management 43440

Interface

energywise level 0 recurrence importance 90 at 00 22 * * 1-6

energywise level 10 recurrence importance 90 at 00 07 * * 1-6

I turned my POE power off on a per interface basis at 10pm then back on again at 7am. 

thanks

Chris

Fantastic! Thanks Chris and Amit

Nice one Chris.  Been trying to get my EnergyWise in my lab working.

Do you have any configuration examples regarding EnergyWise time-range?

By the way ... EnergyWise commands between 12.2(58)SE1 and 15.0 are very "different".  The documentations have not yet been updated/upgraded. 

Amit Singh
Cisco Employee
Cisco Employee

Very good post by Chris that's what you exactly need at minimum. If you want to manage that using a software and also looking for reporting, usage and regulate that via a Tool, you have 2 options :

1. Veridiam Orchestrator

2. Joulex Enteprise energy manager.

HTH,

-amit singh

What a woderful EnergyWise commands!!

Thanks all of you.

Leo Laohoo
Hall of Fame
Hall of Fame

Anyone planning to use EnergyWise can also use time-based ACL.

Here's my scenario:

Power ON

1.  Monday, Tuesday, Thursday and Friday:  8am to 5pm;

2.  Wednesday:  8am to 1030pm;

Power OFF:

1.  Monday, Tuesday, Thursday and Friday:  5pm to 8am the next day

2.  Wednesday:   1030pm to 8am the next day

3.  All Weekend

So here's my config:

!  Global

energywise domain security shared-secret

energywise importance 60

!  Interface

interface GigabitEthernet0/1

energywise level 10 recurrence importance 70 time-range ON

energywise level  0 recurrence importance 70 time-range OFF

energywise importance 60

!  Time Range

time-range _ON

absolute start 00:00 01 December 2012

periodic mon tues thurs friday 8:00 to 17:0

periodic wed 8:0 to 22:30

time-range OFF

absolute start 00:00 01 December 2012

periodic Monday Tuesday Thursday Friday 17:0 to 23:59

periodic Wednesday 22:30 to 23:59

periodic weekday 0:0 to 8:0

NOTE: 

1.  There's a config I've seen (which I've lost) where you don't need the "OFF" time range.  Basically, EnergyWise is smart enough to say, "If the time now is within the time range, I'll use the ON.  However, if the time range is not the time now then I will TURN OFF the power to the port".

So far, I couldn't do this without the OFF statement. 

2.  In the above example config, it takes the switch port 16 seconds to initiate the power OFF sequence.

3.  In the above example config, it takes the switch port  29 seconds to initiate the power ON sequence.

Review Cisco Networking for a $25 gift card