Disabling all LEDs on schedule

On Keenetic routers, you can set all LEDs to turn off on a schedule if required. For example, to prevent the router's LEDs from working at night.
This setting is available through the command-line interface (CLI) of the router.

Let's look at an example of switching off the LEDs at night (from 00:00 to 09:59).

Execute the following commands:

1. Create a schedule:

(config)> schedule LED


sch_create.png

2. Set the schedule's start:

(config-sched)> action start 0 0 *


sch_start.png

(config-sched)> action 

 Usage template:  
           action {action} {min} {hour} {dow}

   Choose:
           start 
            stop
           {min} – minutes
          {hour} – hours
           {dow} – days of the week, separated by commas: 1, 2, 3, 4, 5
           0 и 7 — sunday
               * – everyday


sch_action_template.png

3. Set the schedule's stop:

(config-sched)> action stop 59 9 *


sch_stop.png

4. Apply the schedule to turn off all LEDs (first, execute the exit command to exit the schedule configurator):

(config-sched)> exit

(config)> system led shutdown all schedule LED


sch_exit.png

5. Save the settings:

(config)> system configuration save


sch_save.png

A detailed description of the commands and their syntax can be found in the Command Reference Guide from Download Center.

To delete a schedule, use the command:

(config)> no schedule LED


sch_remove.png

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.