Author Topic: Cisco Device Manager Tar  (Read 740 times)

Offline gbrewster

  • AGOA admin
  • Administrator
  • Sr. Member
  • *****
  • Posts: 412
  • Karma: 20
  • Black and Yellow
    • View Profile
    • AGOA!
Cisco Device Manager Tar
« on: October 13, 2011, 08:41:48 pm »
So I have two cisco 2950's and one is three years newer than the other. Nothing is different except one has Cisco device manager. That's it. Same hardware also. I wanted Cisco device manger on my core switch, so after a little research I found you can tar files in CLI. Which I though was cool. In my case, I needed to tar the
Code: [Select]
flash:html file (that's where the crap was stored.) But when I issued the
Code: [Select]
copy flash:html tftp It was denied because it was a directory. After some research I found that you can use the command
Code: [Select]
archive tar /create flash:html SW1html.tar This takes everything and makes it possible to TFTP. Turns out I was able to transfer it and everything works fine on my switch now. Which amazed me.
!!!This is how I did it!!!

Code: [Select]
archive tar /create flash:html SW1html.tar
copy flash:SW1html.tar tftp
Code: [Select]
****** Next switch*********

Code: [Select]
archive tar /xtract SW1html.tar flash:html
Eat a sandwich

And you're done! That was easy.

In my case, I had a low memory error. So I deleted my c2950-i6k2l2q4-mz.121-22.EA14.bin and then exacted the files. Then deleted the tar file and re-downloaded my Image. NOTE: if you delete the image, back it up and re-download the file before you reboot! Also backup your configuration.
I am the admin. That is all.