首页 科技问答 1909,H3C F100-S-G密码忘记怎么办

1909,H3C F100-S-G密码忘记怎么办

科技问答 171
1686496432,CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。内容来源:知了社区1909 1909 零段 粉丝:0人 关注:0人

问题描述:

console 密码忘记怎么重置

组网及组网描述:


3小时前提问

H3C F100-S-G老机器,没办法

基本只能重启CTRL+B进入bootrom按提示或CTRL+Y清空配置来解决。

请评估业务风险和影响,谨慎操作。

3小时前回答

有木有方法可以保留配置

1909

没办法

Xcheng

除非还有通过其它方式登录设备,如ssh或https等。

Xcheng

如果能console登录的话;
local-user admin
 password simple 新密码
save  force


3小时前回答

有木有办法能保留配置

1909

先dis cu打印出配置再重置,后面将local-user admin下面的password行删除,再将修改后的命令复制粘贴,回退导致之前的状态

暮逍遥

参考案例https://zhiliao.h3c.com/Theme/details/49112


配置密码恢复功能后,当用户忘记Console口认证密码或者登录认证失败,导致无法使用命令行操作设备时,可通过BootWare菜单以忽略系统当前配置的方式启动,再继续使用设备。关闭密码恢复功能后,设备将处于一个安全性更高的状态,即当出现上述情况时,若想继续使用Console口对设备进行命令行操作,只能通过BootWare菜单选择将设备恢复为出厂配置之后方可继续操作,这样可以有效地防止非法用户获取启动配置文件。缺省情况下,设备的密码恢复功能处于使能状态。

以忽略系统当前配置的方式启动

如果使能了密码恢复功能,当用户忘记了Console口密码时,可以重启设备根据系统提示按Ctrl+B进入BootWare主菜单选择<6>,即以忽略系统配置的方式启动,此时设备不会删除原有的配置文件。

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

 

Password recovery capability is enabled.  //如果看到此提示,则表示设备开启了密码恢复功能。

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.  

===========================<EXTEND-BOOTWARE MENU>===========================

<1> Boot System                        

<2> Enter Serial SubMenu           

<3> Enter Ethernet SubMenu         

<4> File Control                            

<5> Restore to Factory Default Configuration 

<6> Skip Current System Configuration 

<7> BootWare Operation Menu        

<8> Clear Super Password                 

<9> Storage Device Operation            

<0> Reboot                                   

==============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU  

Ctrl+F: Format File System  

Enter your choice(0-9): 6

系统出现如下提示表明已经设置成功。

Flag Set Success.

当再次出现BootWare主菜单时,选择<0>,设备开始重新启动。重启设备后,设备的配置为空,可以在系统视图下配置回滚恢复原有配置,如下配置表示将当前配置回滚到配置文件startup.cfg中的配置状态。如果不想恢复原有配置,请跳过此步骤。

<H3C> system-view

[H3C]configuration replace file startup.cfg

Current configuration will be lost, save current configuration? [Y/N]:n

Info: Now replacing the current configuration. Please wait...

Info: Succeeded in replacing current configuration with the file startup.cfg.

在系统视图下设置新的Console口密码,如下配置表示设置Console口验证方式为密码验证,且以密文方式设置Console口的密码为123456。

<H3C>system-view

[H3C]user-interface aux 0      //如果没有aux选项,请选择console

[H3C-ui-aux0]authentication-mode password

[H3C-ui-aux0]set authentication password cipher 123456

[H3C]save    //保存配置

恢复出厂配置

如果关闭了密码恢复功能,当用户忘记了配置的Console口密码时,可以重启设备进入BootWare主菜单选择<5>,即恢复设备的出厂配置,此时设备会自动删除启动时使用的配置文件。 

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

 

Password recovery capability is disabled.   //如果看到此提示,则表示设备关闭了密码恢复功能。

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.    

===========================<EXTEND-BOOTWARE MENU>===========================

<1> Boot System                        

<2> Enter Serial SubMenu           

<3> Enter Ethernet SubMenu         

<4> File Control                            

<5> Restore to Factory Default Configuration 

<6> Skip Current System Configuration 

<7> BootWare Operation Menu        

<8> Clear Super Password                 

<9> Storage Device Operation            

<0> Reboot                    

===============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 5  

系统出现如下提示信息,表明已经设置成功。

Because the password recovery capability is disabled, this operation can

cause the configuration files to be deleted, and the system will start up

with factory defaults. Are you sure to continue?[Y/N]Y 

Setting...Done.  

当再次出现BootWare主菜单时,选择<0>,设备开始重新启动。

重启设备后设备恢复出厂配置。


2小时前回答

你正在,H3C F100-S-G密码忘记怎么办