天天看點

忘記華為交換機console密碼的解決辦法

一、啟動時,按Ctrl+B進入BOOTROM目錄

二、輸入BOOTROM的密碼

·         盒式交換機的某些款型支援使用快捷鍵“Ctrl+E”進入BootROM主菜單,請根據裝置的界面提示操作。

·         盒式交換機在V100R006C03之前的版本,BootROM預設密碼為huawei;在V100R006C03及其之後的版本,預設密碼為[email protected]

·         框式交換機在V100R006C03之前的版本,BootROM預設密碼為9300;在V100R006C03及其之後的版本,預設密碼為[email protected]

三、輸入7,清除console密碼

四、輸入1,已預設模式進入系統(重要:此時一定要選擇1,而不要選擇8,選擇8的話,還是需要密碼的)

五、輸入新密碼,進入系統或無密碼模式進入,修改新密碼

無密碼模式進入,修改console密碼的方法

<hws2>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]

六、儲存配置(一定要記得儲存密碼)

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

<hws2>

 本文轉自 技術花妞妞 51CTO部落格,原文連結:http://blog.51cto.com/xiaogongju/1947601

繼續閱讀