USB port power management
Starting with KeeneticOS 4.0
, a feature for managing the power supply of the router's USB port has been added. Now, you can turn the USB ports' power on/off or assign a schedule profile. Currently, the setting is available through CLI commands (from the router's command-line interface).
Use the following commands:
system usb {port} power shutdown
— power off specified USB {port}
system usb {port} power schedule {schedule}
— assign schedule to specified USB {port}
Here is an example. Let's set up automatic power off for the USB port on a schedule (daily from 15:40
to 15:41
):
schedule usbpwoff
schedule usbpwoff action start 41 15 *
schedule usbpwoff action stop 40 15 *
exit
system usb 1 power schedule usbpwoff
system configuration save
exit
usbpwoff
— schedule name;
usb 1
— USB port 1; to turn off power for USB port 2, use the parameter usb 2
.
If you do not need to use a schedule, you can manually turn the power for USB port 1 off and on using the following commands:
system usb 1 power shutdown
— power off USB {port}
no system usb 1 power shutdown
— power on USB {port}
You can find detailed command syntax in the Command Reference Guide in the section Download Center of the website.