展開全部
1、啟動時,32313133353236313431303231363533e58685e5aeb931333366303064按Ctrl+B進入BOOTROM目錄
2、輸入BOOTROM的密碼
盒式交換機的某些款型支持使用快捷鍵“Ctrl+E”進入BootROM主菜單,請根據設備的界面提示操作。
盒式交換機在V100R006C03之前的版本,BootROM默認密碼為huawei;在V100R006C03及其之后的版本,默認密碼為Admin@huawei.com。
框式交換機在V100R006C03之前的版本,BootROM默認密碼為9300;在V100R006C03及其之后的版本,默認密碼為Admin@huawei.com。
3、輸入7,清除console密碼
4、輸入1,已默認模式進入系統(重要:此時一定要選擇1,而不要選擇8,選擇8的話,還是需要密碼的)
5、輸入新密碼,進入系統或無密碼模式進入,修改新密碼
無密碼模式進入,修改console密碼的方法
system-view
Enter system view, return user view with Ctrl+Z.
[hws2]user
[hws2]user-interface con
[hws2]user-interface console 0
[hws2-ui-console0]authentication-mode pa
[hws2-ui-console0]authentication-mode password
[hws2-ui-console0]set authentication password cipher Huawei@123
[hws2-ui-console0]
6、保存配置(一定要記得保存密碼)
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Jan 1 2008 00:26:03-05:13 hws2 %%01CFM/4/SAVE(l)[27]:The user chose Y when deciding whether to save the configuration to the device.
Now saving the current configuration to the slot 0 .
Info: Save the configuration successfully.
擴展資料:
1、一般情況下由于密碼忘記我們會被阻擋在交換機telnet遠程管理界面之外。
2、可以嘗試console線連接交換機的控制接口,但是很多時候這個密碼也被網絡管理員進行了設置,不巧的是如果這個密碼忘記也會被阻擋在console控制臺之外。
3、這時我們保持終端連接交換機,然后重新啟動該設備,在啟動階段看到顯示“press ctrl-b to enter boot menu”界面時按Ctrl和B鍵。
4、當交換機顯示出boot menu界面時,我們會看到有9個選項,我們要恢復密碼的話就選擇skip current configuration file(啟動加載時跳過當前配置文件)即可。
5、選擇skip current configuration file(啟動加載時跳過當前配置文件)后我們繼續選擇reboot來重新啟動交換機。
6、再次啟動交換機自檢完畢后就會顯示startup configuration is skipped,user interface aux0 is available的信息,這表明當前的配置文件沒有加載,用戶順利進入aux0即console控制臺管理界面。