Installing IOS in .tar format on a Catalyst Switch

From NesevoWiki
Jump to navigationJump to search
  • Boot up the switch and connect to its serial console
  • Connect a switchport to your local network
  • Put the .tar file with your IOS in the root directory of a TFTP server on the same network
  • On the switch's console, get into enable mode
  • Configure the switch to have access to the network
  • Format the flash (optional, may be required if flash is nearly full)
  • Install the IOS with the following command (adjust file name and IP address to match your environment):

archive download-sw /force-reload /overwrite tftp://192.168.1.11/c2960cx-universalk9-tar.152-4.E6.tar

  • All commands in one copy&paste code block (adjust file name and IP address to match your environment):
conf t
interface vlan 1
ip address 192.168.1.244 255.255.255.0
no shutdown
end
archive download-sw /force-reload /overwrite tftp://192.168.1.11/c2960cx-universalk9-tar.152-4.E6.tar
  • The switch will reboot with the new IOS