Tranditional Network
If the user can log in to the device through Telnet or SSH and has the network-admin or level-15 user role, he can log in to the device through Telnet or SSH, change the console port password, and then save the configuration.
#After the device restarts, press Ctrl+B to enter the Bootware interface.
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.......................Done!
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
BotWare 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.
#Enter skip authentication for console login, the corresponding number for the following device is 8, so enter number 8.
===========================<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> Skip Authentication for Console Login |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTEND-ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 8
#Select <0> Reboot to enter the command line after rebooting, and delete the console port login authentication or reset the console port password.
Example: Delete console login authentication
<H3C>system-view
[H3C]line console 0
[H3C-line-console0]authentication-mode none
[H3C-line-console0]quit
[H3C]save force
2. If the password-recovery function of the device is not enabled.
#After the device restarts, press Ctrl+B to enter the Bootware interface.
#Enter Skip Current System Configuration, the corresponding number for the following device is 6, so enter number 6.
===========================<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.
# Select <0> Reboot 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): 0
System is starting...
Press ENTER to get started.
#If you don"t need the previous configuration information.
Procedure: Save the current configuration directly after skipping the startup file and rebooting.
<H3C>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key): // Click Enter
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to device successfully.
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:y
This command will reboot the device. Continue? [Y/N]:y
#If you need the previous configuration information.
Procedure: Use the tftp or ftp tool to export the startup file and modify the console configuration locally and then import it to the device again.
<H3C>
#Apr 26 12:02:07:166 2000 H3C SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:02:07:306 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
<H3C>dir
Directory of flash:/
1 drw- - Apr 26 2000 12:00:20 logfile
2 -rw- 1666 Apr 26 2000 12:05:39 startup.cfg
3 -rw- 1556 Apr 26 2000 12:05:33 _startup_bak.cfg
4 -rw- 151 Apr 26 2000 12:05:30 system.xml
29106 KB total (16876 KB free)
#Use the TFTP or FTP tool to export the startup file
Example: using TFTP 3CD software export
1. Allow the PC to ping the device
2. Example: switch IP address is 192.168.100.1, the PC IP address is 192.168.100.2.
# Modify the console password configuration in the startup.cfg file.
# Overwrite the current configuration file.
#Reboot the device again.
Required tools and environment and precautions.
Use the console port to log in to the device, refer to the console login method