Bring an interface up or down
set_interface_stateEnable or disable a network interface; use get_interface first to confirm traffic, as shutting down WAN or bridge can cut router access.
Instructions
Enables or disables a network interface. Taking down a bridge or the WAN link can cut off access to the router itself, including this connection. Confirm what the interface carries with get_interface before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Interface id from list_interfaces. | |
| state | Yes | Desired administrative state. |