How to update the firmware on cisco 2960 serie switch.
Backup the running configuration to your laptop or what ever. By using putty, after being connected:
Select Change Settings…, in Session, select Logging, Click on Printable output, click on Browse and then select wher you want to save the output file and then Click on Apply
On the switch:
term len 0sh running configuration
Select Change Settings…, in Session, select Logging, Click on None, and then Click on Apply
Connect to the switch, via SSH. If ssh is not configured; follow these steps after connecting to the console:
switch(config)#ip domain-name BREIZHLAND.INTswitch(config)#line vty 0 4switch(config-line)#transport input sshswitch(config-line)#login localswitch(config)#crypto key generate rsa The name for the keys will be: switch.BREIZHLAND.INT
Choose the size of the key modulus in the range of 360 to 4096for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024% Generating 1024 bit RSA keys, keys will be non-exportable...
[OK](elapsed time was 3 seconds)switch(config)#ip ssh version 2
And we need a user that has full access to the router:
Enter the following commands on the switch to temporarily enable an SCP server on port 22. We do this as SCP is a secure means of transport, unlike TFTP:
conf t
ip scp server enableend
wr me
Launch a command shell on your laptop/server & enter the following commands: