URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID6
Нить номер: 15489
[ Назад ]

Исходное сообщение
"восстановление flash на 3750"

Отправлено kazakh , 11-Фев-08 07:15 
Помогите уважаемые
случайно удалили flash с cisco 3750
при заходе на cisco видим только (все началось с того что не мог залить ios новый - не проходила команда (copy  tftp: flash: )!!!  )
можно на почту qwer2005@Wmail.ru


switch:


switch:

switch: help
           ? -- Present list of available commands
        boot -- Load and boot an executable image
         cat -- Concatenate (type) file(s)
        copy -- Copy a file
      delete -- Delete file(s)
         dir -- List files in directories
  flash_init -- Initialize flash filesystem(s)
      format -- Format a filesystem
        fsck -- Check filesystem consistency
        help -- Present list of available commands
load_helper -- Load and initialize a helper image
      memory -- Present memory heap utilization information
       mkdir -- Create dir(s)
        more -- Concatenate (display) file(s)
      rename -- Rename a file
       reset -- Reset the system
       rmdir -- Delete empty dir(s)
         set -- Set or display environment variables
      set_bs -- Set attributes on a boot sector filesystem
   set_param -- Set system parameters in flash
       sleep -- Pause (sleep) for a specified number of seconds
-- MORE --
        trap -- Cause a software breakpoint to occur
        type -- Concatenate (type) file(s)
       unset -- Unset one or more environment variables
     version -- Display boot loader version

switch:

switch:

///////////////////////////////////////////////////


а до удаление видел вот что см ниже,  

Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I9-M), Version 12.2(20)SE4, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Sun 09-Jan-05 00:09 by antonino
Image text-base: 0x00003000, data-base: 0x0099748C

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14r)EA1a, RELEASE SOFTWARE (fc1)

Sw-B uptime is 2 days, 19 hours, 58 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i9-mz.122-20.SE4/c3750-i9-mz.122-20.SE4.bin"

cisco WS-C3750-24TS (PowerPC405) processor (revision G0) with 118784K/12280K bytes of memory.
Processor board ID CAT0910K1AT
Last reset from power-on
1 Virtual Ethernet/IEEE 802.3  interface(s)
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:13:7F:F9:56:00
Motherboard assembly number     : 73-7055-09
Power supply part number        : 341-0034-01
Motherboard serial number       : CAT0910036J
Power supply serial number      : DAB090100NU
Model revision number           : G0
Motherboard revision number     : A0
Model number                    : WS-C3750-24TS-S
System serial number            : CAT0910K1AT
Hardware Board Revision Number  : 0x06


Switch   Ports  Model              SW Version              SW Image            
------   -----  -----              ----------              ----------          
*    1   26     WS-C3750-24TS      12.2(20)SE4             C3750-I9-M          


Configuration register is 0xF

Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#sh flash

Directory of flash:/

    3  -rwx        1653   Mar 1 1993 21:43:21 +00:00  config.text
    4  -rwx          27   Mar 1 1993 21:43:21 +00:00  private-config.text
    5  drwx         192   Mar 1 1993 00:06:16 +00:00  c3750-i9-mz.122-20.SE4

15998976 bytes total (8245760 bytes free)
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#
Sw-B#


Содержание

Сообщения в этом обсуждении
"восстановление flash на 3750"
Отправлено rakis , 11-Фев-08 09:28 
http://www.cisco.com/en/US/products/hw/switches/ps607/produc...

"восстановление flash на 3750"
Отправлено kazakh , 12-Фев-08 09:04 
пробовал нифига не проходит,


switch:

switch:

switch:

switch:

switch:

                            

switch:

switch:

switch:

switch: init?flash
Unknown cmd: init?flash

switch: flash_init
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 9600...

switch:

switch:

switch: load_hekper
Unknown cmd: load_hekper

switch: helper_load
Unknown cmd: helper_load

switch: dir flash
unable to stat flash/: no such device

switch: dir_flash
Unknown cmd: dir_flash

switch: dir_flash:
Unknown cmd: dir_flash:

switch:

switch:

switch:

switch:
Base ethernet MAC Address: 00:13:7f:fe:d3:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 15997952
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-i9-mz.122-20.SE4/c3750-i9-mz.122-20.SE4.bin"...flash:c3750-i9-mz.122-20.SE4/c3750-i9-mz.122-20.SE4.bin: no such file or directory

Error loading "flash:c3750-i9-mz.122-20.SE4/c3750-i9-mz.122-20.SE4.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.


switch: flash_init
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 9600...

switch: load_helper

switch:

switch:

switch: dir flash:
Directory of flash:/


15997952 bytes available (1024 bytes used)

switch:

switch: delete flash:
Are you sure you want to delete "flash:" (y/n)?y
File "flash:" not deleted -- no such file or directory

switch:

switch:

switch: dir flash:
Unknown cmd: dir

switch:

switch:

swimkdir:                  
Unknown cmd: copymkdir:

switch: mkdir:
Unknown cmd: mkdir:

switch: mkdir: flash:
Unknown cmd: mkdir:

switch:


"восстановление flash на 3750"
Отправлено rakis , 12-Фев-08 11:34 
>пробовал нифига не проходит,

не понятно _что_ Вы побовали. Из лога видно только попытки ввода неправильных комманд (зачем это постить в форум не понятно).

Перечитайте страницу по ссылке. Там вполне понятно английскими буквами по монитору написано что делать.
В частности:
Copy the image to the Flash using HyperTerminal for Microsoft Windows, or another terminal software program. The command on the switch is copy xmodem: flash:filename , where filename is the name of file that you downloaded. With HyperTerminal, use the TRANSFER -- SEND FILE option using the XMODEM protocol. Start the XMODEM download within three seconds. Otherwise, the switch times out the XMODEM copy.

When the XMODEM request appears, issue the appropriate command on the terminal-emulation software to start the transfer. Copy the software image into Flash memory. The command to issue is switch: copy xmodem: flash:image_filename .


"восстановление flash на 3750"
Отправлено kazakh , 12-Фев-08 14:42 
даже copy xmodem: flash: (файл.bin )

не проходит


а не надо создавать какую нидь директорию??

пишет ошибка на I/O error
а когда начинаю что нидь передавть то вообще стоит вижу окошко пустое что никаких пакетов никуда не передаеитться....


"восстановление flash на 3750"
Отправлено rakis , 12-Фев-08 15:15 
хех
достал со клада ws-3750-48ts-s

switch: flash_init
Initializing Flash...
flashfs[0]: 3 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 7962624
flashfs[0]: Bytes available: 8036352
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
Setting console baud rate to 9600...

switch: load_helper

switch: copy xmodem: flash:111
Begin the Xmodem or Xmodem-1K transfer now...
CCC
Starting xmodem transfer.  Press Ctrl+C to cancel.
Transferring 123...
  100%       3 bytes    3 bytes/s 00:00:01       0 Errors

.
File "xmodem:" successfully copied to "flash:111"

---CUT---

Switch>en
Switch#sh flash:

Directory of flash:/

    2  -rwx     7958174   Mar 1 1993 00:07:52 +00:00  c3750-ipservicesk9-mz.122-25.SEE.bin
    3  -rwx        2105   Mar 1 1993 00:01:57 +00:00  config.text
    4  -rwx          24   Mar 1 1993 00:01:57 +00:00  private-config.text
    5  -rwx         128   Jan 1 1970 00:01:30 +00:00  111

Так что что-то Вы делаете не так.

Хинт:
Сначала copy xmodem: flash:имя_файла на каталисте
и только затем инициируем передачу в терминал-клиенте


"восстановление flash на 3750"
Отправлено kazakh , 13-Фев-08 08:11 
что-то Вы делаете не так.
>
>Хинт:
>Сначала copy xmodem: flash:имя_файла на каталисте
>и только затем инициируем передачу в терминал-клиенте

/.....................

когда делаю так как вы рекомендуете(спаибо большое вам за это!!)
надеюсь я вас еще не разозлил.... :-))

вот что имеем или ругаеться что bad file name или no such device

???


"восстановление flash на 3750"
Отправлено kazakh , 13-Фев-08 09:40 
ПОЛУЧИЛОСЬ йоооо!!!!!!!!!!!!!!!!!!!!!!!!1111

брат спасибки за участие
а сделали вот как,

при переливании IOS в формате ***.bin   он нихрена не давал переливаться

а когда я начал заливать файл ***.tar   он млин пошел  


почему так не понятно !??????

но главное процесс пошел

спасибо за помощь Ракис............!!!!!     респект


"восстановление flash на 3750"
Отправлено rakis , 13-Фев-08 10:03 
>спасибо за помощь Ракис............!!!!!     респект

пожалуйста. рад что удалось помоч


"восстановление flash на 3750"
Отправлено Andrew , 14-Апр-11 19:32 

> при переливании IOS в формате ***.bin   он нихрена не давал
> переливаться
> а когда я начал заливать файл ***.tar   он млин пошел

А как вы потом его распаковывали?


"восстановление flash на 3750"
Отправлено Evgeny , 16-Мрт-10 17:55 
Base ethernet MAC Address: 00:1c:f9:c4:83:00
Xmodem file system is available.
The password-recovery mechanism is enabled.

The system has been interrupted prior to initializing the
flash filesystem.  The following commands will initialize
the flash filesystem, and finish loading the operating
system software:

    flash_init
    load_helper
    boot


switch: flash_init
Initializing Flash...
flashfs[0]: 600 files, 19 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 7718912
flashfs[0]: Bytes available: 24795136
flashfs[0]: flashfs fsck took 10 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
Setting console baud rate to 9600...

switch: load_helper

switch: dir flash
unable to stat flash/: no such device

switch:


"восстановление flash на 3750"
Отправлено Evgeny , 16-Мрт-10 17:57 
switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)
              xmodem[1]: (read-only)
                null[2]: (read-write)
                  bs[3]: (read-only)

у меня задача сбросить пароль.
т.е. в каталоге flash переименовать конфиг, что бы каталист загрузился с дефолтовыми настройками

каталист 2960


"восстановление flash на 3750"
Отправлено Иван , 10-Апр-13 20:58 
http://www.cisco.com/en/US/products/hw/switches/ps628/produc...