ZTE ZXR10 5960: How to deploy with a Python script (paramiko / netmiko / native API)
By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-30
| Vendor | ZTE |
|---|---|
| Operating system | ZXR10 / ZXROS |
| Category | Deployment Automation |
| Skill level | Intermediate to advanced |
| DIY-able? | Yes with CLI access; some scenarios need ZTE Customer Support + RMA. |
Automating against ZTE gear at scale means respecting ZXR10 / ZXROS as an API surface, not just a CLI. The ZXR10 5950 platform exposes a structured interface, and show tech-support plus write are the two operations that show up in almost every automation pipeline.
I have run automation against ZTE fleets ranging from a dozen units to several thousand, and the failure modes concentrate at credential handling and at the 'activate' step. Plan for both.
Below is a pattern I use in real change pipelines. It is not Hello-World; expect to adapt it to your CMDB, your IPAM, and your ZTE Customer Support-friendly change format.
What this guide covers
How to deploy with a Python script (paramiko / netmiko / native API) for ZTE ZXR10 5960 (ZXR10 / ZXROS).
Step-by-step
- Choose the automation surface: vendor controller, API, or CLI scripting.
- Verify reachability + credentials from your automation host.
- Test the change on a single device + maintenance window.
- Roll out in waves of 10-20 devices to limit blast radius.
- Pre-collect baseline, push the change, post-collect; diff.
- Roll back any device whose post-check fails.
Sample CLI invocation
# Manual baseline
show version
show device
show interface brief
# Push change (via vendor CLI)
configure terminal
interface gei_1/1/1
ip address 10.0.0.1 255.255.255.0
no shutdown
write
# Verify
show interface brief
Best practices
- Always test on a single device or sandbox before fleet rollout.
- Keep configurations in version control (Git).
- Use AAA + RBAC for the automation account; never embed credentials in code.
- Build pre/post-change validation into your pipeline.
Frequently asked questions
Will this work on my specific ZXR10 / ZXROS version?
The procedure reflects current ZXR10 / ZXROS behaviour. Older releases may need minor syntax adjustments: use the CLI help (? or tab-completion) to verify.
Should I open a ZTE Customer Support case immediately?
Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your support entitlement is active first.
Where can I find the ZTE official documentation?
https://support.zte.com.cn, search the product family + feature name.
Is this procedure safe in production?
Test in a lab or maintenance window first. Capture pre-change state so you can roll back.
Related guides
Related fixes
Related guides worth a look while you sort this one out:
- ZTE ZXR10 5950: How to deploy with a Python script (paramiko / netmiko / native API)
- ZTE ZXR10 8900E: How to deploy with a Python script (paramiko / netmiko / native API)
- ZTE ZXR10 5960: How to deploy with Ansible
- ZTE ZXR10 5960: How to deploy with Terraform (provider where available)
- ZTE ZXR10 5960: How to deploy with the vendor's controller / manager
- ZTE ZXR10 5950: How to deploy with Ansible
References
- ZTE support portal: https://support.zte.com.cn
- ZTE knowledge base: https://support.zte.com.cn
- ZTE security advisories: https://support.zte.com.cn/support/news/AnnoucementOverviewLatest.aspx
- Open a case: https://support.zte.com.cn
Reference material, not professional advice. Validate against your specific ZXR10 / ZXROS version and test in a non-production environment before applying.
What changed recently?
Fault diagnosis on a ZTE device goes faster when you map the symptom to a recent change:
- Did firmware update in the last 7 days?
- Did the network (router, ISP, VPN) change?
- Was the device moved physically?
- Did paired devices (phone, hub, app) update?
- Were any accessories swapped in or out?
The answer narrows the root cause to a manageable subset.
Before you start
A few things to confirm so the ZTE device fix goes cleanly:
- Latest firmware downloaded if you're going to update.
- Warranty + support contract status checked. opening sealed parts may void it.
- Backup of current configuration (where applicable) taken.
- Spare parts on hand if you anticipate replacement.
- Adequate workspace, lighting, and time, rushing causes regressions.
Verification checklist
After applying the fix on your ZTE device, confirm:
- The original symptom is no longer reproducible.
- Related features (status LEDs, app sync, paired accessories) still work.
- The device responds to a soft reboot without the fault returning.
- Any error codes that were on display have cleared.
- Documentation (your service log, the brand companion app) reflects the change.
Escalation guide
For a ZTE device, the right escalation depends on impact:
- Cosmetic / minor: log a ticket via the ZTE app or web portal. Response 1-3 business days.
- Mid-impact: phone support. Have your serial number ready.
- Critical (production down, safety issue): in-person dealer / TAC visit. Bring proof of purchase.
- Out of warranty: third-party repair shop with manufacturer-certified technicians.
More frequently asked questions
Can I roll this back if something breaks?
Yes for software-level changes (firmware rollback, config rollback). Hardware changes are usually one-way. Always back up settings before starting.
Are there safer alternatives for non-technical users?
Yes: the manufacturer's self-service troubleshooter (HP Smart, LG ThinQ, Samsung Members, similar) usually walks through the same steps in a guided UI. Use that first if you're not comfortable with menu paths.
Should I update firmware first or last?
Update firmware first if a release note specifically mentions your symptom. Otherwise, finish the troubleshooting flow first, then update; that way you can isolate whether the update or the underlying fix solved it.
Will the procedure work on the international variant?
Some features and firmware paths are region-locked. Check the model spec sheet to confirm your variant supports the menu option referenced. If you're outside the US/EU, look for the regional support portal.
How long does this fix usually take?
Most users complete the steps in 20-45 minutes the first time, and 5-10 minutes on subsequent runs once the menu paths are familiar.