run_serial_command
Run CLI commands on network devices over serial connection using Netmiko, processing hosts sequentially to avoid serial port conflicts.
Instructions
Run a CLI command on devices via direct Serial connection (using Netmiko).
Note: Physical serial ports generally cannot be used concurrently by multiple threads, so hosts are processed sequentially (one at a time).
Args: command: The CLI command to execute (e.g., 'show version'). filter_criteria: Dictionary to filter target hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| filter_criteria | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |