如果其他用户名和密码全部忘记了,可以通过我们设备默认的root帐号,密码为admin登陆设备,然后可以修改其他用户的密码.
如下命令是查看设备上的所有用户名:
huawei>display terminal user all 如下命令是修改密码:
huawei#terminal user passwordUser name (<=15 chars):test-user1 New password(<=15 chars): Confirm Password(<=15 chars): Information takes effect Repeat this operation? (y/n)[n]:n 如果忘记root密码的话,有以下方案:
1、使用之前备份出来的配置文件,将root那一行删除,再从网管加载配置文件,并激活配置文件。系统启动后的root密码就是admin了。
2, 通过U2000服务器按如下方法修改密码
下我们可以登陆网管系统,通过LCT管理功能来修改用户密码,操作如下:
1、登陆U2000客户端,选择:系统-->网元安全-->LCT用户管理
2、在"网元用户"页签“设备类型”选项中需要操作的设备类型和“显示范围”,并“查找”选定设备;
3、在打开的“网元用户管理”界面中,选择一条设备用户(root)记录,单击右键,在弹出的快捷菜单中选择“设置密码”输入新的密码即可。
3、在现场操作,就只有在串口启动阶段加载空数据库了.
步骤 1使用串口线连接PC串口和设备串口,使用交叉网线连接PC和设备维护网口。
步骤 2在系统启动时,请按串口打印提示进行操作。如下操作(粗体为需要输入的部分,斜体为注释):
PlatformSystem start ...
Bios DDR(512M ECC) clear ... .......OK.
Memory Data Bus Test .................pass.
Memory Address Bus Test ..............pass.
Press 'Ctrl+T' To Start Memory Complete Test
Trace code : 0x00000000
Copy from ROM to RAM ...... OK!
Uncompress from ROM to RAM ...... OK!
Copyright (c) 1998 - 2012 by Huawei Technologies Co.,Ltd.
All Rights Reserved.
The last update date of base BIOS B is : Jul 11 2012 09:12:24
===============================================================
BOARD INFORMATION :
CPU: MPC8548E - Security Engine. Processor #1.(Rev2.02) running at 1333Mhz
512M bytes DDR(ECC), 128M bytes flash installed onboard
Baudrate of serial channel is 9600bps
Board's LAN IP address is 10.11.104.2
Board's LAN Subnet mask is 255.255.255.0
Board's LAN MAC address is 00:E0:FC:12:20:93
===================================================================
Base BIOS version is 216
Save extended BIOS disable start flag...OK!
Transferring control to the extended BIOS ...OK!
System Vfs init...OK
The last update date of extended BIOS is : Jul 11 2012 09:13:42
System is booting from extended BIOS...
Extended BIOS version is 222
Press <D> key to stop auto-boot 3 d //这里输入‘d’进入加载状态
1.加载主机原版本的合一包文件和数据库。
Main Menu
==============================================
0. Boot from flash
1. Boot from serial port by Xmodem
2. Boot from ethernet port by TPTP
3. Erase extended BIOS and reboot
Please enter a choice : 2 //输入‘2’进入TPTP引导模式
Submenu For TPTP
==============================================
0. Back to main menu
1. Download program & data to flash then boot
2. Only download data to flash then boot
3. Download CPLD program
4. Update BOOTROM program
5. Dump the flash to tftp server
6. Load FLASH[x-2].bin to flash
7. Download Packet file
Please enter a choice : 2
Board IP address :[10.11.104.2] 10.11.104.2 //输入主控板IP地址
Board mask address : [255.255.255.0] 255.255.255.0 //输入掩码
TPTP server IP : [10.11.104.5] 10.11.104.5 //输入便携机IP地址
File name: : [db_scu.dat]db_scu_new.dat //输入数据库文件,
You will download file 'db_scu_old.dat' from TPTP server 10.11.104.5,
are you sure? (y/n) [y] y //输入‘y’确认加载
Downloading file, please wait... 12227 bytes download OK
Begin to check download program...OK!
Initialize data status in flash...OK!
Begin to save data in main area...OK!
Begin to save data in spare area...OK!
Now system will boot from flash memory.
Testing Flash memory...OK!
Select area information : Program Area A,Data Area A.
Move program to SDRAM...OK!
Begin to expand program...OK!
Transferring control to the loaded program...OK!
Starting system application init......successfully!
Starting system configuration data init...successfully!
Press any key to get started
2.登录系统后使用reboot system命令重启系统。
----结束
输入用户名/密码登录系统,缺省用户名/密码为:root/admin。