set_power
Switch a device on or off to power cycle it. Unsaved configuration is lost when reloading a router or switch.
Instructions
Switch a device on or off. Switching a router or switch off and on reloads it: configuration that was not saved with write memory is lost. IOS devices come back ready at the prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | `true` to switch it on, `false` to switch it off. | |
| device | Yes | Device name as returned by `list_devices`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| device | Yes |