2013년 1월 6일 일요일

My Big Mistake Today : erase flash on cisco router

My Big Mistake Today : erase flash on cisco router 



GR2HQ#show flash:

CompactFlash directory:
File  Length   Name/status
  1   50889300  c2800nm-spservicesk9-mz.124-24.T4.bin
  2   2412     hoss-test1
  3   2735     hoss-test2
  4   2301     Ori060512
  5   2966     Paulus [deleted]
  6   3425     Paulus [deleted]
  7   3378     paulus [deleted]
  8   3406     paulus
  9   3815     bak_startup_20121120.cfg
 10   1561     bak_startup_20121127.cfg [deleted]
 11   1561     bak_startup_20121127.cfg
 12   3183     Geoff_cfg_20121127.txt [deleted]
 13   3183     Geoff_cfg_20121127.txt [deleted]
 14   3183     Geoff_cfg_20121127.txt [deleted]
 15   3477     Geoff_cfg_20121127.txt [deleted]
 16   3477     Geoff_cfg_20121127.txt
[50934416 bytes used, 13290860 available, 64225276 total]
62720K bytes of ATA CompactFlash (Read/Write)

GR2HQ#copy run flash
GR2HQ#copy run flash:bak_20130107.cfg
Destination filename [bak_20130107.cfg]?
Erase flash: before copying? [confirm]
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

Initializing memory for ECC
.
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
rommon 1 >
rommon 1 >



In order to solve the problem....follow the below process

set up th tftp server and upload IOS image file to the tftp server..

and  then, download the file from tftp server to the router..


Router fa0/0 ----CROSSOVER---- TFTP Server


rommon 1 > IP_ADDRESS=10.0.0.1
rommon 2 > IP_SUBNET_MASK=255.0.0.0
rommon 3 > DEFAULT_GATEWAY=10.0.0.2
rommon 4 > TFTP_SERVER=10.0.0.2
rommon 5 > TFTP_FILE=c2801-adventerprisek9_ivs-mz.124-22.T.bin

rommon 6 > tftpdnld








rommon 15 > tftpdnld

          IP_ADDRESS: 10.10.10.1
      IP_SUBNET_MASK: 255.0.0.0
     DEFAULT_GATEWAY: 10.0.0.2
         TFTP_SERVER: 10.0.0.2
           TFTP_FILE: c2800nm-spservicesk9-mz.124-24.T4.bin
        TFTP_VERBOSE: Progress
    TFTP_RETRY_COUNT: 18
        TFTP_TIMEOUT: 7200
       TFTP_CHECKSUM: No
        TFTP_MACADDR: 00:1d:46:f3:97:08
             FE_PORT: Fast Ethernet 0
       FE_SPEED_MODE: Auto

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash: will be lost!
Do you wish to continue? y/n:  [n]:  y
.
Receiving c2800nm-spservicesk9-mz.124-24.T4.bin from 10.0.0.2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(omitted...)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2800nm-spservicesk9-mz.124-24.T4.bin to flash:.


댓글 없음:

댓글 쓰기