switch# request platform software package expand file flash:cat9k_iosxe.17.09.01.SPA.bin to flash:
Now go forth, expand those BIN files, and leave bundle mode in the past where it belongs. Have a unique conversion scenario? Leave a comment or contact your Cisco TAC engineer – but only after you’ve followed this guide. cisco convert bin to pkg better
Navigating Cisco’s ecosystem of firmware and software packages can be a nightmare—even for seasoned network engineers. You’ve just downloaded a fresh IOS-XE or NX-OS image from Cisco’s Software Download portal. The file extension is .bin . But your ASR 1000 router or Catalyst 9000 switch is stubbornly refusing to accept it. The error message is cryptic: “Invalid image type. Expected .pkg format.” But your ASR 1000 router or Catalyst 9000
import paramiko import time devices = ["10.1.1.1", "10.1.1.2"] bin_file = "flash:cat9k_iosxe.17.09.01.SPA.bin" expand those BIN files
switch# install set-config active packages flash:packages.conf switch# install commit switch# write memory switch# reload After reload, verify: