cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1181
Views
5
Helpful
2
Replies

Can "CLI" Python Librairy in IOS-XE help to upgrade/install software

Jerems
Spotlight
Spotlight

Hi Dear Community,

 

I wondered if the Python module "CLI" or any other embedded python librairy could help to automate the Download/Upgrade of the software on an IOS-XE device ?

Thanks in advance.

Jerems

#guestshell, #ios-xe, #automation, #python

1 Accepted Solution

Accepted Solutions

Hey @Jerems you cani think you need to do this with Zero Touch Provisioning (ZTP) https://blogs.cisco.com/developer/device-provisioning-with-ios-xe-zero-touch-provisioning

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

2 Replies 2

Hey @Jerems you cani think you need to do this with Zero Touch Provisioning (ZTP) https://blogs.cisco.com/developer/device-provisioning-with-ios-xe-zero-touch-provisioning

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi,

 

Thanks @bigevilbeard. You perflecty understood what i was thinking about. In the following days, i will write an article on how i was able to register a Cisco ISR1111 and ISR4321 into Cisco NSO thanks to DHCP option 67 and a Python script. A part of my lab relied on the article written by @jcohoe. Still, i am missing some skill about python and wondered if someone could help me in finding a way to instruct my ISR using a python script which will allow devices to download an IOS binary on their flash or execute the upgrade remotely to avoid any waste of space on the flash of the routers.

Thanks in advance,

Jerems