Blue Flower

1.- Get the IOS image

The first thing you need to do is to logon to Cisco with you own account and visit this website:

https://software.cisco.com/download/release.html?mdfid=282867582&flowid=46698&softwareid=280805680&release=15.0.2-SE11&relind=AVAILABLE&rellifecycle=MD&reltype=latest

It is from there that you download the latest version of IOS for the Cisco 2960S, the 15.0.2.SE11

Download the file to a location of your choice, on a computer where you can install the TFPF server program

2.- Get the TFTP server application

Next, visit this site and download the TFTP64, install it on your machine and configure it so that it points to the folder where you have the IOS image

 

3.- Verify current version of the IOS

Run this command on the switch and verify that the current image that it has is also a C2960S

#show version

Run also the command "dir flash:" to see if there is any other image on the switch

 

4.- Copy the new IOS image

Run this command:

#copy tftp flash:

And when prompted, enter the IP address of the machine where the TFPF server is running, and paste the name of the new IOS image (that previously you would have copied to the clipboard), then wait for the file to be copied across

Run "dir flash:" just to verify that you have both images in the flash storage

 

5.- Verify the new IOS image checksum

Visit the TFTP application, and ensure the copy process has been done successful and without errors, once it reaches 100% check the log tab to see if there is any errors

In addition ,run this command to double-check that the new image has been copied correctly

#verify /md5 flash:c2960s-universalk9-mz.150-2.SE11.bin

If at some point it pauses, the image has NOT been copied correctly, and you need to do it again; use Crt+Z to come out

 If the image has NOT been done correctly, use this command to delete it and try again

#del flash:c2960s-universalk9-mz.150-2.SE11.bin

 

 6.- Modify boot image

First of all, enable break at boot just in case we need it:

(config)#boot enable-break

To change the boot image, go to conf t and  type this: 

(config)#boot system flash:/c2960s-universalk9-mz.150-2.SE11.bin

 do a "show flash:" and a "show boot" to ensure the image is pointing to the right location, the save and reboot

(config)#do wr

(config)#do reload

 

 That's all, good luck!

 

 

ENABLE SSH

Do this first to see if SSH is enable in the switch

#show ip ssh

 If it is not enable, run these commands to configure the switch

(config)#ip domain-name mydomain.com

(config)#crypto key generate rsa
Use 1024 bits for the key, so that the switch uses SSH v2 instead of SSH version 1

Then configure the VTP lines

(config)#line vty 0 15
(config-line)#transport input ssh
(config-line)#login local

 

 

References

Thank you Ramesh Natarajan for his great article, amazing stuff!: https://www.thegeekstuff.com/2011/06/upgrade-cisco-ios-image and https://www.thegeekstuff.com/2013/08/enable-ssh-cisco

 https://blogs.manageengine.com/network/netflowanalyzer/2014/02/12/monitoring-netflow-lite-data-in-new-cisco-2900-and-4900-series-switches-using-netflow-analyzer.html

London, 15 December 2017

 

Print Friendly, PDF & Email