Pages

Showing posts with label IOS. Show all posts
Showing posts with label IOS. Show all posts

Oct 4, 2010

Copy ASA5520 firewall IOS flash into computer

I'm using my laptop as the TFTP server and copy the ios into my laptop.

To do this, you must configure your laptop as the TFTP server. I'm using PumpKIN as the application to run TFTP server on my laptop. PumpKIN is a free software you can get it here. Install and run it on your laptop. (you may want to edit the PumpKIN download path at option).

Then enter your ASA firewall console, follow below command (in blue) to successfully transfer the IOS into your laptop.

ASA>en
ASA#sh flash: --Display the current flash
-#- --length-- -----date/time------ path
6 2844 Jul 27 2010 15:10:54 admin.cfg
7 1868412 Jan 01 2003 08:07:00 securedesktop-asa-3.1.1.29-k9.pkg
8 398305 Jan 01 2003 08:07:16 sslclient-win-1.1.0.154.pkg
9 0 Nov 02 2007 15:51:50 crypto_archive
10 6287244 Nov 02 2007 15:54:10 asdm-523.bin
13 8515584 Apr 22 2008 08:06:38 asa724-k8.bin
14 6514852 Apr 22 2008 08:07:46 asdm-524.bin
15 4401 Jul 27 2010 15:10:54 old_running.cfg

231735296 bytes available (23691264 bytes used)

ASA#copy flash: tftp: --begin to transfer IOS by using TFTP

Source filename []? asa724-k8.bin --enter (type) the ios name
Address or name of remote host []? 172.17.8.55 --enter your laptop ip address
Destination filename [asa724-k8.bin]? --press ENTER to begin the trasfer process

On your laptop, PumpKIN will prompt this window,click Accept to begin the transfer process:


On the ASA console, the transfer process begin

Writing file tftp://172.17.8.55/asa724-k8.bin... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<<<<<<<<<<<<<<<<<<<<<<<output omitted>>>>>>>>>>>>>>>>>>>>>>>>>>

Transfer process may took longer time if the IOS file is big and depends on your connection. I'm suggest you using wired connection rather than wireless, wireless took longer time to transfer and error while transferring the file might occur (connection lost).

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
Related Posts with Thumbnails