Не совсем так.
Сделал так:
1. Подрубидся по терминалу.
2. Подошёл к циске и зажал кнопку MODE
3. Выдернул шнур питани и, не отпускаю указанную выше кнопку, воткнул шнур питания обратно.
4. Подержал кнопку нажатой ещё пару-тройку секунд
5. Подошёл к терминалу. там следующее:
Код: Выделить всё
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 18:57 by antonino
WS-C2950-24 starting...
Base ethernet MAC Address: 00:07:eb:4e:20:c0
Xmodem file system is available.
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:
Код: Выделить всё
switch: flash_init
Initializing Flash...
flashfs[0]: 415 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 5526016
flashfs[0]: Bytes available: 2215424
flashfs[0]: flashfs fsck took 8 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:
Далее
Код: Выделить всё
switch: load_helper
switch: dir flash:
Directory of flash:/
2 -rwx 112 <date> info
412 -rwx 112 <date> info.ver
4 drwx 4160 <date> html
165 -rwx 1503 <date> config.text
413 -rwx 46 <date> env_vars
414 -rwx 24 <date> private-config.text.renamed
6 -rwx 3714165 <date> c2950-i6k2l2q4-mz.121-22.EA10.bin
415 -rwx 24 <date> private-config.text
416 -rwx 676 <date> vlan.dat.renamed
417 drwx 192 <date> crashinfo
421 -rwx 676 <date> vlan.dat
422 -rwx 3959 <date> config.text.renamed
2215424 bytes available (5526016 bytes used)
switch: rename flash:config.text flash:config.old
switch: dir flash:
Directory of flash:/
2 -rwx 112 <date> info
412 -rwx 112 <date> info.ver
4 drwx 4160 <date> html
165 -rwx 1503 <date> config.old
413 -rwx 46 <date> env_vars
414 -rwx 24 <date> private-config.text.renamed
6 -rwx 3714165 <date> c2950-i6k2l2q4-mz.121-22.EA10.bin
415 -rwx 24 <date> private-config.text
416 -rwx 676 <date> vlan.dat.renamed
417 drwx 192 <date> crashinfo
421 -rwx 676 <date> vlan.dat
422 -rwx 3959 <date> config.text.renamed
2215424 bytes available (5526016 bytes used)
switch: boot
Подождал загрузки системы(всмысле IOS).
На вопрос
Код: Выделить всё
Would you like to enter the initial configuration dialog? [yes/no]: n
o
ответил что нет. И всё. Система предлажила мне нажать Enter чтобы начать. Я не совсем понял что начать))), но нажал ввод. Меня выкинуло в обычное приглашение
Ну, а дальше всё было уже просто
Код: Выделить всё
Switch>enable
Switch#configure terminal
Switch(config)#no enable secret
Switch(config)#enable password 123
Switch(config)#^Z(это мы нажали Ctrl+Z
Switch#write memory
Building configuration...
[OK]
Switch#reload
Соответственно, теперь я могу востановить конфигурационный файл. А могу начать конфигурирование с нуля.