Pages

Jul 21, 2010

INSTALLING IOS INTO THE CATALYST 2960G SWITCH

To install ios from TFTP server, the switch have to be connected to a TFTP server that has the Cisco IOS image for the switch.
Follow these steps to upgrade the device IOS image:

Verify the Current Cisco IOS Image

Step 1 Use the show version command to verify the image currently loaded in RAM.
switch#show version
Step 2 Use the show flash command to verify any images currently available in flash.
switch#show flash

Configure Access to the TFTP Server

Switch needs to establish a connection to a TFTP server that has the Cisco IOS image you need.

Step 1 Connect the Fa0/1 interface on switch to the TFTP server (or any unused interface).
Step 2 Configure the switch with IP address 192.168.20.1/24.
Step 3 Configure the TFTP server with IP address 192.168.20.254/24 and a default gateway.
Step 4 Test connectivity.

The switch should be able to successfully ping the TFTP server. If not, check your cabling and addressing.

Upload a New Cisco IOS Image

Step 1 Check the TFTP server for Cisco IOS images.
Check the TFTP server for the IOS image you needed, for example you will upload the c1841-ipbasek9-mz.124-12.bin image to switch. Below is the example of the command output. (For explaining the steps, these steps use c1841-ipbasek9-mz.124-12.bin ios image file for examle).

Step 2 Upload the c1841-ipbasek9-mz.124-12.bin image to the switch.
• On switch, begin the upload process with the copy tftp flash command.
• Enter the IP address for TFTP Server.
• Enter the entire filename of the Cisco IOS image.
switch#copy tftp flash

Address or name of remote host []? 192.168.20.254
Source filename []? c1841-ipbasek9-mz.124-12.bin
Destination filename [c1841-ipbasek9-mz.124-12.bin]? Enter
Accessing tftp://192.168.20.254/c1841-ipbasek9-mz.124-12.bin...
Loading c1841-ipbasek9-mz.124-12.bin from 192.168.20.254: !!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 16599160 bytes]

16599160 bytes copied in 13.047 secs (284682 bytes/sec)

Step 3 Verify that the new image is now in flash.
switch#show flash

Configure the boot system Command

By default, the switch bootup sequence loads the first Cisco IOS image listed in flash. One way to make sure that the router loads the new image is to configure the boot system flash command. On switch, enter the following command:

switch(config)#boot system flash c1841-ipbasek9-mz.124-12.bin

This command is now part of the running configuration. However, the running configuration must also be saved to NVRAM; otherwise, the configuration is overwritten the next time you reload the router.

switch(config)#end
switch#copy running-config startup-config

Test the New Image

Reload the switch and wait for it to reboot. When the switch reloads, verify that the new image is in RAM with the show version command.
switch#reload
Proceed with reload? [confirm][Enter]

switch#show version

No comments:

Post a Comment

Related Posts with Thumbnails