cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1117
Views
9
Helpful
5
Replies

TCL Script to shut down power to IP Phones

dezoconnor
Level 4
Level 4

I've already posted this in the Unified Comms section but had no response so thought I'd try here.

Does anyone know of a way to shut down the power to IP Phones lets say every evening and weekends to conserve power? Just thinking green!!

Would a TCL script do the job or are Cisco looking into ways of doing this in the future?

TIA.

5 Replies 5

andrew.prince
Level 10
Level 10

Darren,

Not sure about TCL - but I have a telnet script program that telnet's to a cisco switch that provides PoE.

I have it logon at 7pm on Friday and issue the below commands:-

interface range g1/0/1 1/0/48

power inline never

this shuts power off to all the switch ports that have phones attached.

Then Monday morning a 7am another script is run:-

interface range g1/0/1 1/0/48

no power inline never

Works for me!

HTH>

Here is the link for the tool I use:-

http://www.winsite.com/bin/Info?500000000873

HTH>

Mark Yeates
Level 7
Level 7

Darren,

I did see a TCL script that does shut off PoE at pre defined times for a 6500. I haven't tried it yet but plan to soon. Check out the link to the Cisco EEM scripting community.

http://forums.cisco.com/eforum/servlet/EEM?page=main

HTH,

Mark

Thanks to you both Mark & Andrew. I've now got something to go away and work with. Much appreciated.

spollock
Level 1
Level 1

Looking for something simple for my UC500 @home.  Currently running 12.4(12.12)T

I would like to have a script run at night and turn all PoE ports off, then kick them back on early in the AM.  I had a look at the green script from the 6500 team at http://forums.cisco.com/eforum/servlet/EEM?page=search_results&fn=search&catId=1&count=20&skip=0&sortBy=3&order=DESC&mode=browse
This obviously won't work on the UC500 although the command
Cowacella#show power inline
PowerSupply   SlotNum.   Maximum   Allocated       Status
-----------   --------   -------   ---------       ------
INT-PS           0        80.000    18.900          PS GOOD
Interface   Config   Device    Powered    PowerAllocated
---------   ------   ------    -------    --------------
Fa0/1/0     auto     Cisco    On         6.300 Watts
Fa0/1/1     auto     Cisco    On         6.300 Watts
Fa0/1/2     auto     Unknown  Off        0.000 Watts
Fa0/1/3     auto     Unknown  Off        0.000 Watts
Fa0/1/4     auto     Unknown  Off        0.000 Watts
Fa0/1/5     auto     Unknown  Off        0.000 Watts
Fa0/1/6     auto     Unknown  Off        0.000 Watts
Fa0/1/7     auto     Cisco    On         6.300 Watts
Cowacella#
gives a clue. 
Rather than write one myself, which I will do if no one responds, I was hoping someone had already done this or found a better way.  There is nothing in the CCA menus about this (hint hint)
I also don't find EEM on here.  Seems to have come out in a later rev of ios.
Review Cisco Networking products for a $25 gift card