upgrading to IOS15 on a 2960 switch in Cisco Packet tracer

Cisco packet tracer 6.1 as a feature that allows one to upgrade the IOS on a 2960 switch.
So let's start:
Open packet tracer. :-)

Drag a 2960 switch and a Server (connect the server to any port on the switch), in my scenario i will connect to Fa0/1.

Configure the ip address on the Server, i will use 192.168.0.0/24, the server will be .254 and the SVI on the switch will be .1.

To configure the switch we open the cli and type as shown :




now we can configure the server as shown:.




and we can see the new IOS file in the TFTP section ( c2960-lanbasek9-mz.150-2.SE4.bin ).

Before upgrading check if the Server can ping the Switch, if the ping is successful you are ready to go.

To upload the new IOS image to the Switch:



We can see the new IOS image in the flash directory by typing "dir" or "show flash".  To configure the Switch to boot to the new IOS image we have 2 options,

1 - we can delete the current IOS image, and when the Switch reloads it will automatically load the image that is found on the flash directory.

2 - we can use the boot command to configure the Switch to use the new IOS image.

Lets use the 2 choice:



Reload the Switch and type "show ver".





the switch is now running with the new IOS image. ( the same can be done for the 2811 Router ).