Actions2
Overview
This node, named Nodemiko, allows users to SSH into network devices and run commands or configuration commands remotely. It is useful for network administrators who need to automate device management tasks such as retrieving device information or applying configuration changes. For example, a user can send a 'show version' command to a router to get its firmware version or push configuration commands to update device settings.
Use Case Examples
- Running 'show version' command on a Cisco router to retrieve device details.
- Sending configuration commands to update VLAN settings on a network switch.
Properties
| Name | Meaning |
|---|---|
| Commands | The command string to run on the network device. |
| Options | A collection of optional parameters to customize the SSH connection and command execution. |
Output
JSON
device- The hostname or IP address of the network device the command was run on.result- The output result of the executed command or configuration command.
Dependencies
- An API key credential for SSH connection to the network device.
Troubleshooting
- Common issues include connection timeouts if the device is unreachable or incorrect credentials are provided.
- If the node throws an 'Unsupported operation' error, it means the operation parameter is set to a value other than 'send_command' or 'send_config'.
- Debug mode can be enabled to get verbose logs which help in diagnosing connection or command execution problems.