Доброго всем здравия
Проблема - снять пароль админа.
Так как он естественно утерян.
шел по инструкции = сейчас приведу последовательность моих действий и неожиданная реакция = ничего не сбросилось, требует пароль.
итак что предлагает нам само Cisco по инструкции - метод number TWO
***
Step 1 Establish a terminal session on the console port of the active supervisor module.
Step 2 Reload the device to reach the loader prompt by using the reload command. You need to press Ctrl-C when the following appears:
Note For Cisco Nexus - Ctrl-C.
Booting kickstart image: bootflash:/n7000-s1-kickstart.x.x.x.bin....
switch# reload
This command will reboot the system. (y/n)? [n] Y
2011 Feb 1 13:09:56 switch %$ VDC-1 %$ %PLATFORM-2-PFM_SYSTEM_RESET: Manual system
restart from Command Line Interface
writing reset reason 9,
..
..
GNU GRUB version 0.97
Autobooting bootflash:/n7000-s1-kickstart.x.x.x.bin bootflash:/n...
Filesystem type is ext2fs, partition type 0x83
Booting kickstart image: bootflash:/n7000-s1-kickstart.x.x.x.bin....(----> Press Ctrl + C)
....Aborting Image Boot
GNU GRUB version 0.97
Loader Version 3.22.0
loader>
Step 3 Restart the device with only the kickstart image to reach the switch boot prompt.
loader> boot n7000-s1-kickstart.x.x.x.x.bin
Filesystem type is ext2fs, partition type 0x83
****
****
****
http://www.opensource.org/licenses/lgpl-2.1.phpswitch(boot)#
Step 4 Reset the network administrator password by following Step 8 through Step 16 described in the "Method One" section.
STEP 8- etc
Step 8 Reset the network administrator password.
switch(boot)# configure terminal
switch(boot-config)# admin-password <new password>
WARNING! Remote Authentication for login through console has been
disabled
switch(boot-config)# exit
switch(boot)#
Step 9 Display the bootflash: contents to locate the Cisco NX-OS software image file.
switch(boot)# dir bootflash:
Step 10 Load the Cisco NX-OS system software image.
In the following example, the system image filename is nx-os.bin:
switch(boot) # load bootflash:nx-os.bin
Step 11 Log in to the device using the new administrator password.
switch login: admin
Password: <new password>
************************************************************
итак что делал я -
включаю 7010 тремя рубильниками сзади питания.
Жимкаю Ctrl-C - вываливаюсь в loader
загружаю kickstart.6.2.8a.bin
он загружается, показывает приветствие switch(boot)#
далее
вхожу командой conf t (команду configure terminal - cisco ОТКАЗЫВАЕТСЯ ПРИНИМАТЬ !!! (почему?? ))
далее: admin-password Пароль
он пишет
switch(boot)# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password F**Ej*****1
WARNING! Enabling local authentication for login through console due to password recovery
switch(boot)(config)# exit
switch(boot)# dir bootflash:
***
switch(boot)# load bootflash:n7000-s2-dk9.6.2.8a.bin
System image digital signature verification successful.
Uncompressing system image: bootflash:/n7000-s2-dk9.6.2.8a.bin Mon Oct 26 17:34:34 MSK 2020
***
INIT: (boot)#
2020 Oct 26 17:35:10.865 prb-2561-s07-msk0.life.corp %$ VDC-1 %$ %USBHSD-2-MOUNT: slot0: online
User Access Verification
prb-2561-s07-msk0.life.corp(standby) login:
User Access Verification
prb-2561-s07-msk0.life.corp(standby) login: admin
Password:
Login incorrect
_________________________________________________________
Все - после загрузки образа полного - требует опять тоже самое.
Что отличается от описания.
По инструкции при смене пароля коммутатор должен выдавать следующее
вариант 1 (по инструкции)
switch(boot-config)# admin-password <new password>
WARNING! Remote Authentication for login through console has been
disabled
switch(boot-config)# exit
вариант 2 (что получается)
switch(boot)# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password F**Ej*****1
WARNING! Enabling local authentication for login through console due to password recovery
switch(boot)(config)# exit
и также, не совсем понял зачем, но по инструкции они вначале делаеют еще один reload - но смысл ?
шаг номер 2 варианта 2.
Перезагрузка из под kickstart (я бы попробовал раньше, когда был рядом с 7010, но этой особенности ранее значения не придал, не перезагружался.)
Только ил в этом проблема ?
Спасибо за помощь заранее.