execute_command
Send commands to a connected network device to retrieve information or change settings using user, enable, or config mode.
Instructions
Execute a command on a connected network device.
The device must be connected first using connect_device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | IP address or hostname of the connected device | |
| command | Yes | Command to execute (e.g., "show version", "show ip interface brief") | |
| mode | No | Execution mode: user (default), enable (privileged), or config (configuration) | user |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |