run_netmiko_command
Execute CLI commands concurrently on filtered network devices via Netmiko; optionally parse output into structured data using TextFSM.
Instructions
Run a show command concurrently on multiple hosts via Netmiko.
Args: command: The CLI command to execute (e.g., 'show version'). filter_criteria: Dictionary of key-value pairs to filter target hosts. If empty, runs on ALL hosts! use_textfsm: If True, attempts to parse output into structured data using ntc-templates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| use_textfsm | No | ||
| filter_criteria | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |