华为恢复Console口密码_第1页
华为恢复Console口密码_第2页
华为恢复Console口密码_第3页
华为恢复Console口密码_第4页
华为恢复Console口密码_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、恢复口密码设备提供如下方法可以恢复口密码。方法一:通过登录设备修改口密码。方法二:下配置跳过口密码启动后,修改口密码。方法三:下重命名当前启动配置文件,以空配置启动后修改口密码。说明:请优先使用方法一,如果密码也忘记了再使用其它两个方法。如果登录用的是密码认证,在方法一不可能的情况下优先使用方法二。如果登录用的是认证,在方法一不可能的情况下使用方法三。通过登录设备修改口密码如果用户拥有账号,并且具有级或更高的权限,则可以通过登录到设备后修改口密码,然后保存配置。使用账号登录设备,并确认当前账号有级或更高的权限。使用命令查看当前设备所有登录用户。其中带“”标记行为当前用户,记录对应的编号。dis

2、playusersUser-IntfDelayTypeNetworkAddressAuthenStatusAuthorcmdFlag129VTY000:23:36TEL7passUsername:Unspecified+130VTY101:20:36TEL1passUsername:Unspecified131VTY200:00:00TEL4passUsername:Unspecified使用命令可以显示所有用户的权限,确定对应的等级为5有权限修改口密码。displayuser-interfaceIdxTypeTx/RxModemPriviActualPriviAuthInt0CON09600

3、-15-P-+129VTY0-1515P-+130VTY1-1515P-+131VTY2-15-P-132VTY3-1515P-修改用户的密码,以修改为密码认证,密码为“”为1。以及更低版本。system-viewHuaweiuser-interfaceconsole0Huawei-ui-console0authentication-modepasswordHuawei-ui-console0setauthenticationpasswordcipherhuawei123Huawei-ui-console0return以及更高版本。system-viewHuaweiuser-interface

4、console0Huawei-ui-console0authentication-modepasswordHuawei-ui-console0setauthenticationpasswordcipherEnterPassword():Confirmpassword:Huawei-ui-console0return为了防止重启后配置丢失,选择保存配置。saveThecurrentconfigurationwillbewrittentothedevice.Areyousuretocontinue?(y/n)n:yItwilltakeseveralminutestosaveconfiguratio

5、nfile,pleasewaitConfigurationfilehadbeensavedsuccessfullyNote:Theconfigurationfilewilltakeeffectafterbeingactivated在下配置跳过口密码启动后,修改口密码设备的提供了配置跳过口密码启动的功能,可以在用户使用口登录的时候跳过密码检查。这样系统启动后除了不需要输入密码外,与正常启动相同,也会完成所有配置加载。设备启动后修改口密码,然后保存配置。要进入到菜单需要重启设备,会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。清空口密码登录后请马上配置新的密码,否则登录超

6、时或重启后,仍需要清空密码来登录。在此操作过程中不要对设备进行下电。用串口线连接并重启设备,出现“”打印信息时,按下“”并键入密码后进入主菜单。,亠说明:以及更低版本的缺省密码是,以及更高版本的缺省密码是。配置跳过口密码登录。MainMenu4.5.1.DefaultStartup.7.38.39.SerialMenuNetworkMenuStartupSelectFileManagerRebootPasswordMa

7、nagerEnteryourchoice(1-7):7PassWordMenuModifythemenupasswordCleartheconsoleloginpassword0.ReturnEnteryourchoice(0-2):2CleartheconsoleloginpasswordSucceed!PassWordMenuModifythemenupasswordCleartheconsoleloginpassword0.ReturnEnteryourchoice(0-2):0MainMenuDefaultStartupSerialMenuNetworkMenuStartupSelec

8、tFileManagerRebootPasswordManagerEnteryourchoice(1-7):1完成系统启动后,通过口登录时不需要认证,登录后修改口密码,以修改为密码认证,密码为“”为例。以及更低版本。system-viewHuaweiuser-interfaceconsole0Huawei-ui-console0authentication-modepasswordHuawei-ui-console0setauthenticationpasswordcipherhuawei123Huawei-ui-console0return以及更高版本。system-viewHuaweius

9、er-interfaceconsole0Huawei-ui-console0authentication-modepasswordHuawei-ui-console0setauthenticationpasswordcipherEnterPassword():Confirmpassword:Huawei-ui-console0return为.了防止重启后配置丢失,保存配置。saveThecurrentconfigurationwillbewrittentothedevice.Areyousuretocontinue?(y/n)n:yItwilltakeseveralminutestosavec

10、onfigurationfile,pleasewaitConfigurationfilehadbeensavedsuccessfullyNote:Theconfigurationfilewilltakeeffectafterbeingactivated在下重命名当前启动配置文件,以空配置启动后修改口密码在下重命名当前启动配置文件,设备会以空配置启动,启动后将配置文件导出并修改口密码,覆盖回设备上的配置文件,达到修改登录密码的效果。要进入到菜单需要重启设备,会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。在此操作过程中不要对设备进行下电。用串口线连接并重启设备,出现“”

11、打印信息时,按下“”并键入密码后进入主菜单。L-说明:以及更低版本的缺省密码是,以及更高版本的缺省密码是。重命名当前启动配置文件。MainMenu4.1.DefaultStartup2.SerialMenu3.NetworkMenu4.StartupSelect5.FileManager6.Reboot7.PasswordManager12.13.Enteryourchoice(1-7):47.4

12、7.58.StartupSelect123450.DisplayStartup.SetBootFile.SetConfigFile.StartupfileCheckManage.SetStartupWaitingTime.returnEnteryourchoice(0-5):1*CurrentStratupinfo*ValidFlagStateBootFileNameConfigFileNameLicenceFileNamePatchFileNameVoiceFileNameVaildsd1:/softwarenew.ccsd1:/cfgn

13、ew.zip*PreStartupinfo*ValidFlagStateBootFileNameConfigFileNameLicenceFileNamePatchFileNameVoiceFileNameVaildsd1:/software.ccsd1:/cfg.zipsd1:/patch.patStartupSelectDisplayStartupSetBootFileSetConfigFileStartupfileCheckManageSetStartupWaitingTime0.returnEnteryourchoice(0-5):0MainMenuDefaultStartupSeri

14、alMenuNetworkMenuStartupSelectFileManager8.99.RebootPasswordManagerEnteryourchoice(1-7):5FileMenu1.Flashfilesystem2.SDCardfilesystem0.ReturnEnteryourchoice(0-2):2SDCardfilesystemMENU

15、1.ListfileinSDCard12.DeletefileinSDCard1RenamefileinSDCard1FormatSDCard1CheckSDCard10.ReturnEnteryourchoice(0-5):3Pleaseinputthefilename:cfgnew.zipPleaseinputthenewname:cfgnew-copy.zipRenamefilesd1:/cfgnew.ziptosd1:/cfgnew-copy.zip,YesorNo(Y/N):yRenameOK!SDCardfilesystemMENU1.ListfileinSDCard12.Dele

16、tefileinSDCard1RenamefileinSDCard1FormatSDCard1CheckSDCard10.ReturnEnteryourchoice(0-5):0FileMenu1.Flashfilesystem2.SDCardfilesystem03.0.ReturnEnteryourchoice(0-2):0MainMenu104.1.DefaultStartup105.2.SerialMenu106.3.NetworkMenu107.4.StartupSelect108.5.FileManager109.6.Reboot110.7.Passwor

17、dManager111.112.Enteryourchoice(1-7):1完成系统启动后,设备会恢复为默认的出厂配置,并提示设置口密码,以密码为“”为例。以及更低版本。Pleaseconfiguretheloginpassword(maximumlength16)Enterpassword:Confirmpassword:以及更高版本。Pleaseconfiguretheloginpassword()Enterpassword:Confirmpassword:配置设备为服务器,路径需与前面重命名后的配置文件的路径保持一致。system-viewHuaweiftpserverenableInf

18、o:SucceededinstartingtheFTPserver.HuaweiaaaHuawei-aaalocal-userhuaweipasswordirreversible-cipherHelloworld6789Huawei-aaalocal-userhuaweiftp-directorysd1:Huawei-aaalocal-userhuaweiservice-typeftpHuawei-aaalocal-userhuaweiprivilegelevel15从上下载重命名后的配置文件。123.C:DocumentsandSettingAdministratorftp54124.Con

19、nectedto54.125.220FTPserviceready.126.User(54:(none):huawei127.331Passwordrequiredforhuawei.128.Password:129.230Userloggedin.130.ftpgetcfgnew-copy.zip/与前面重命名后的配置文件的文件名保持一致131.200Portcommandokay.132.150OpeningASCIImodedataconnectionforcfgnew-copy.zip133.226Transfercomplete.134.ftp:收到981字节,用时0.00Seconds981000.00Kbytes/sec.在上解压后使用文本编辑工具(建议用系统自带的文本编辑工具)打开并删除口认证配置,删除后重新压缩成文件。136将.修改后的配置文件上传到设备,并覆盖原有配置文件。ftpputcfgnew-copy.zip200Portcommandokay.150OpeningASCIImodedataconnectionforcfgnew-copy.zip.226Transfercomplete.ftp:发送981字节,用时0.00Seconds981000.00Kbyt

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论