• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

Solution for Forgetting the Console Password

2021-03-19 Published
  • 0关注 ,433浏览
余煌 五段
粉丝:0人 关注:0人

Network Topology

null


Problem Description

Client forgot the console password .


Process analysis

After the password recovery function is enabled: Start using the BootWare menu to Skip Current System Configuration  of the system, and then continue to use the device.

After the password recovery function is disabled: you can only Restore to Factory Default Configuration through the BootWare menu Only then can continue to operate, which can effectively prevent illegal users from obtaining the startup configuration file.

By default, the password recovery function of the device is enabled.


Solution

 

  1. Export the current configuration (it is recommended to back up the configuration file first)

1.1、Restart the device and press Ctrl+B to enter the BOOTROM menu.

 

Press Ctrl+B to enter Boot Menu...4

Please input BootRom password:

 

   BOOT MENU

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

Enter your choice(0-5):

 

1.2、Export the configuration file to an external TFTP/FTP server

BOOT MENU

1. Download application file to device

2. Select application file to boot

3. Display all files in device

4. Delete file from device

5. Modify BootRom password

0. Reboot

 

Enter your choice(0-5):                   //Enter CTRL+Y,then press ENTER

 

Please select application file upload choices:

1. Upload file from Flash via TFTP protocol

2. Upload file from CF card via TFTP protocol

0. Return to boot menu

 

Enter your choice(0-2): 1         

 

Load File name           :sda startup.cfg

Switch IP address        :192.168.0.36 172.16.0.1

Server IP address        :192.168.0.30 172.16.0.2

 // Enter the configuration file name, device address, TFTP server address according to the actual situation

Are you sure to upload file to server? Yes or No (Y/N):Y             //Press Y

Load file from flash to sdram...done!

Uploading...done!

Under the BOOTROM menu, press CTRL+Y and then hit ENTER to set up the TFTP server and export the configuration.

 

1.3、Delete the current configuration file

Please select application file upload choices:

1. Upload file from Flash via TFTP protocol

2. Upload file from CF card via TFTP protocol

0. Return to boot menu

 

Enter your choice(0-2): 0                             //Select 0 to go back to the Bootrom menu

 

  1.  Skip Current System Configuration

If the password recovery function is enabled, you can restart the device and press Ctrl+B to enter the BootWare main menu and select <6> according to the system prompts, that is, start in the mode of Skip Current System Configuration. At this time, the device will not Delete the original configuration file.

 

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

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

 

        Password recovery capability is enabled.  //If you see this prompt, it means the 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

The following prompt appears on the system to indicate that the setting has been successful.

Flag Set Success.

When the BootWare main menu appears again, select <0> and the device will restart. After restarting the device, the device configuration is empty, you can configure rollback in the system view to restore the original configuration. The following configuration means that the current configuration is rolled back to the configuration state in the configuration file startup.cfg. If you do not want to restore the original configuration, please skip this step.

<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.

Set a new console port password in the system view. The following configuration means to set the console port authentication mode to password authentication, and set the console port password to 123456 in cipher text.

<H3C>system-view

        [H3C]user-interface aux 0      //If there is no aux option, please select console

        [H3C-ui-aux0]authentication-mode password

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

[H3C]save    //Save configuration

 

  1. Restore to Factory Default Configuration 

If the password recovery function is disabled, when the user forgets the configured console port password, you can restart the device and enter the BootWare main menu and select <5> to Restore to Factory Default Configuration. At this time, the device will automatically delete the configuration file used at startup.

 

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

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

 

        Password recovery capability is disabled.   //If you see this prompt, it means the 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  

The following prompt appears on the system to indicate that the setting has been successful.

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]

Setting...Done.  

When the BootWare main menu appears again, select <0> and the device will restart.

After restarting the device, the device restores its factory configuration.


0 comments

No comments

Add Comments:

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作