netmiko-ssh-automation
Safe Python Netmiko patterns for read-only collection, bounded batch SSH, TextFSM parsing, guarded config changes, timeouts, and network automation error handling. Use when automating network device access with Python Netmiko, whether collecting state or pushing guarded config changes.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Netmiko SSH Automation
- When to Use
- Safety Defaults
- Read-Only Connection Pattern
- Batch Collection
- Structured Parsing
- Guarded Config Pattern
- Review Checklist
Use this skill when writing or reviewing Python automation that connects to network devices with Netmiko. Keep the default path read-only; config changes need a separate change window, peer review, and rollback plan. Collecting show command output across routers, switches, or firewalls. Building a small audit script for interface, routing, or config evidence. Adding timeouts and exception handling to network SSH scripts. Parsing command output with TextFSM when a template exists. Reviewing automation before it touches production devices. Start with read-only sendcommand() collection. Keep inventory small and explicit; do not sweep whole address ranges. Use environment variables, a vault, or getpass; never hardcode credentials. Set connection and read timeouts. Limit concurrency so older devices are not overloaded. Require an explicit operator flag before sendconfigset(). Do not call saveconfig() until the change has been verified and approved. Use placeholder addresses from documentation ranges in examples. Keep real inventory in an ignored local file or a secrets-managed system. Keep maxworkers low unless the device estate and AAA systems are known to handle higher connection volu
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- skills/netmiko-ssh-automation/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:44.110Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.