cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
6498
Views
21
Helpful
7
Replies
Beginner

How to automatically shutdown PoE ports on 2960 switch during night

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
Beginner

How to automatically shutdown PoE ports on 2960 switch during ni

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

7 REPLIES 7
Beginner

How to automatically shutdown PoE ports on 2960 switch during ni

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

Beginner

How to automatically shutdown PoE ports on 2960 switch during ni

Fantastic! Thanks Chris and Amit

Hall of Fame Community Legend

How to automatically shutdown PoE ports on 2960 switch during ni

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. 

Highlighted
Cisco Employee

How to automatically shutdown PoE ports on 2960 switch during ni

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

Beginner

How to automatically shutdown PoE ports on 2960 switch during ni

What a woderful EnergyWise commands!!

Thanks all of you.

Hall of Fame Community Legend

Re: How to automatically shutdown PoE ports on 2960 switch durin

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.

Beginner

How to automatically shutdown PoE ports on 2960 switch during ni

I'm a developer of www.ios4all.net, where we have just added the energywise module so I spent some time on it.

I think you can omit the recurrence in the command "energywise level" and that become the default one, when switch can't find a time-range available it takes the default.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards