Cisco Systems OL-19806-03 Switch User Manual


 
1-27
Cisco EnergyWise Configuration Guide
OL-19806-03
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