Turn off power to port leds – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2013

Triggers Configuration
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
76.7
Turn Off Power to Port LEDs
The following configuration allows you to conserve power by using the eco-friendly LED
(Light Emitting Diode) feature to turn off power to the port LEDs during non-work hours.
See the
command for a detailed command description and command
examples. See the section
“Save Power With the Eco-Friendly Feature” on page 1.32
.
■
Trigger 6 activates at 5.30pm and runs a script called LEDoff.scp. This script adds
commands to turn off power to all the port LEDs
■
Trigger 7 activates at 8.30am and runs the script called LEDon.scp. This script removes
the configuration specified by LEDoff.scp
1.
Create the LEDoff.scp script
Create a configuration script with the commands that are executed when the trigger
conditions are met. You can either create the configuration script using the CLI with
the
command or create a script on a PC then load it onto your device using the
command. The configuration script for this example is:
2.
Create the LEDon.scp script
Create a script to remove the configuration specified in the LEDoff.scp file. The
configuration script for this example is:
3.
Configure trigger 6
To create trigger 6, use the commands:
Set the trigger to activate at 5:30pm, by using the command:
Set the trigger to activate on Monday, Tuesday, Wednesday, Thursday and Friday:
!
enable
configure terminal
ecofriendly led
exit
exit
!
!
enable
configure terminal
no ecofriendly led
exit
exit
!
awplus#
configure terminal
awplus(config)#
trigger 6
awplus(config-trigger)#
type time 17:30
awplus(config-trigger)#
day mon tue wed thur fri