How to Delete a Console Login Password?

Issue Description

How Can I Delete a Console Login Password?

Solution

Deleting the Console Login Password of a Fixed Switch Running

V100R002/V100R003

1.  Restart the switch. When the BootROM menu is displayed, choose option “5.

Enter filesystem submenu” to display the file system submenu.

2.  When the file system submenu is displayed, choose option “4.Rename file from

flash” to rename the default configuration file vrpcfg.zip. For example, change the

file name to vrptest.zip.

3.  Log in to the switch after the restart. The system uses the factory settings now.

4.  Decompress the vrptest file and name the decompressed file vrpcfg.bat.

<Quidway> unzip vrptest vrpcfg.bat

5.  Run the execute command to invoke the original configuration and delete the

console login password.

<Quidway> system-view
[Quidway] execute vrpcfg.bat
[Quidway] user-interface console 0
[Quidway-ui-console0] undo authentication-mode
[Quidway-ui-console0] quit
[Quidway] quit

6.   Save the configuration in the vrpcfg.zip file.

<Quidway> save
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jun 25 2010 11:41:59 Quidway %%01CFM/4/SAVE(l): The user chose Y when

deciding whether to save the configuration to the device.    vrpcfg.zip   //Enter the

default configuration file name vrpcfg.zip.

7.  After the switch restarts, the console login password is deleted, and the original

service configurations are retained.

Deleting the Console Login Password of a Fixed Switch Running

V100R005/V200R001/V200R002/V200R003

During a startup process, a switch loads the BootROM program and the system software

in sequence. When the following information is displayed, press Ctrl+B within 2 seconds

to display the BootROM menu.

BIOS LOADING …
Copyright (c) 2008-2010 HUAWEI TECH CO., LTD.
CX22EFFE (Ver124, Jun  9 2010, 17:41:46)
Press Ctrl+B to enter BOOTROM menu … 0
password:    //Enter the BootROM password. The default password is Admin@huawei.com.

After you enter the correct BootROM password, the following BootROM menu is displayed:

BOOTROM  MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Reboot
Enter your choice(1-8): 7
Note: Clear password for console user? Yes or No(Y/N): y
Clear password for console user successfully. Choose “1” to boot, then set a new  password
Note: Do not choose “Reboot” or power off the device, otherwise this operation will not take effect

Choose option “7 .Clear password for console user” and then choose option “1. Boot with default mode.”

The console login password is then deleted.

NOTICE:
After clearing the console login password, choose option “1. Boot with default mode” in the BootROM

menu to restart the system. Do not choose option “8. Reboot” or power off the switch. Otherwise, the

configuration will be lost.

Deleting the Console Login Password of a Modular Switch Running

V100R001/V100R002/V100R003

1.  Restart the switch. When the BootROM menu is displayed, press CTRL+Z to display the hidden menu.

2.  Choose option “8-Rename file in CFCard” to rename the default configuration file vrpcfg.zip.

For example, change the file name to vrptest.zip.

3.  Log in to the switch after the restart. The system uses the factory settings now.

4.  Decompress the vrptest file and name the decompressed file vrpcfg.bat.

<Quidway> unzip vrptest vrpcfg.bat

5.  Run the execute command to invoke the original configuration and delete the console login password.

<Quidway> system-view
[Quidway] execute vrpcfg.bat
[Quidway] user-interface console 0
[Quidway-ui-console0] undo authentication-mode
[Quidway-ui-console0] quit
[Quidway] quit

6.  Save the configuration in the vrpcfg.zip file.

<Quidway> save
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jun 25 2010 11:41:59 Quidway %%01CFM/4/SAVE(l): The user chose Y when deciding w
hether to save the configuration to the device.    vrpcfg.zip   //Enter the default configuration

file name vrpcfg.zip.

7.  After the switch restarts, the console login password is deleted, and the original service

configurations are retained.

Deleting the Console Login Password of a Fixed Switch Running

V100R006/V200R001/V200R002/V200R003

When you attempt to log in to a new switch through the console port for the first time, the

system prompts you to enter the console login password. You can also run the set authentication

password [ cipher password ] command in the console login user interface to set the console login

password. If you forget the Telnet or console login password, clear the console login password in

the BootROM menu. Perform the following steps:

During the startup process, press Ctrl+B as prompted and enter the password to enter the BootROM

menu. Choose option 8 in the BootROM menu to clear the console login password.

MAIN  MENU

1. Boot with default mode
2. Boot from Flash
3. Boot from CFCard
4. Enter serial submenu
5. Enter ethernet submenu
6. Modify Flash description area
7. Modify BootROM password
8. Clear password for console user
9. Reboot
Enter your choice(1-9):8
Note: Clear password for console user? Yes or No(Y/N): y
Clear password for console user successfully. Choose “1” to boot, then set a new  password
Note: Do not choose “Reboot” or power off the device, otherwise this operation will not take effect

NOTICE:
After clearing the console login password, choose option “1. Boot with default mode” in the BootROM

menu to restart the system. Do not choose option “9. Reboot” or power off the switch. Otherwise, the

configuration will be lost.

Categories:

Tags:

Comments are closed