日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

H3C交换机S5500系列恢复控制台登录口令

發布時間:2023/12/20 编程问答 59 豆豆
生活随笔 收集整理的這篇文章主要介紹了 H3C交换机S5500系列恢复控制台登录口令 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?

1?? 2.1? 恢復控制臺登錄口令

如果用戶設置的控制臺登錄口令丟失,可以通過使用BOOT菜單中的“跳過配置文件啟動”功能進行恢復。

(1)??????? 使用配置線纜將計算機的串口與H3C系列交換機的Console口進行連接,配置終端仿真程序,重新啟動交換機。

(2)??????? 在交換機完成自檢后,在下面的界面鍵入<Ctrl+B>進入BOOT菜單。

??????????? Board checking.......................................LSA1LTSG

??????????? SDRAM fast selftest.......................................OK!

??????????? Flash fast selftest.......................................OK!

??????????? CPLD selftest.............................................OK!

??????????? Switch chip selftest......................................OK!

??????????? Slot 1/1/1 has no module or get slot type error

??????????? Slot 1/1/2 has no module or get slot type error

??????????? Slot 1/1/3 has no module or get slot type error

??????????? Slot 1/1/4 has no module or get slot type error

?????????? ?PHY selftest..............................................OK!

??????????? Please check port leds..............................finished!

?

??????????? The switch Mac is: 000f-e200-3900

?

?

Press Ctrl-B to enter Boot Menu... 5

?

password:?????????????????????? ?????

&? 說明:

缺省情況下,進入BOOT菜單的口令為空。如果用戶設置了BOOT菜單口令,但該口令已經丟失,請與代理商聯系。

?

(3)??????? 進入BOOT菜單后,鍵入“7”,選擇“跳過配置文件啟動”功能。

???????? BOOT? MENU

?

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

?

Enter your choice(0-9): 7

The current setting is running configuration file when reboot.

Are you sure to skip current configuration file when reboot? Yes or No(Y/N) y

Setting......done!?

(4)??????? 回到BOOT菜單后,輸入“0”重新啟動交換機。

???????? BOOT? MENU

?

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

?

Enter your choice(0-9): 0

^@System rebooting...???????????

(5)??????? 再次啟動時,交換機會跳過配置文件,即跳過對控制臺口令的配置,用戶可以直接登錄交換機。

**************************************************************************

* Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,??????????????????????????? ???????*

* no decompiling or reverse-engineering shall be allowed.??????????????????? *

**************************************************************************

?

Configuration file is skipped.

User interface aux0 is available.

?

?

?

Press ENTER to get started.

<H3C>??????????????????????

(6)??????? 用戶登錄后,可以使用display startup命令查看啟動配置文件,并使用more命令查看該配置文件中的控制臺口令配置。

<H3C> display startup

? Current startup saved-configuration file:????????? NULL

? Next startup saved-configuration file:???????????? flash:/vrpcfg.cfg?

<H3C> more vrpcfg.cfg

……()

#

user-interface aux 0

?authentication-mode password

?set authentication password simple test

user-interface vty 0 4

?authentication-mode none

?user privilege level 3

?idle-timeout 0 0

#

return

<H3C>???

&? 說明:

如果用戶設置的口令為明文,則口令將直接顯示在配置文件中;如果用戶設置了密文的口令,則將顯示為轉換后的密文字符,此時需要用戶自行將密文轉換為明文。

?

(7)??????? 用戶可以使用FTPTFTP將啟動配置文件發送到PC上,使用文本編輯軟件(例如Windows系統的“記事本”或“寫字板”軟件)對配置文件進行編輯,修改認證口令或修改認證方式為None,再將配置文件上傳到交換機上覆蓋原有文件。再次啟動后,交換機將使用更新后的配置文件,用戶可以重新進行口令配置,同時其他原有配置不會丟失。

&? 說明:

以上操作適用于在Password方式或Scheme方式中的本地方式下恢復登錄口令。如果用戶使用Scheme方式中的Radius方式進行認證,用戶的登錄口令將在Radius服務器上進行設置,當登錄口令丟失或Radius服務器不可用時,也會造成登錄失敗;這種情況下,用戶可以通過上面描述的方式編輯配置文件,修改認證方式為None,即可跳過認證直接登錄,但登錄口令需要用戶在Radius服務器上進行恢復。

?

(8)??????? 需要注意的是,在第三步操作中選擇的“跳過配置文件”選項會保存在BootRom中,如果不進行修改,則此后每次重啟設備都會跳過配置文件。因此,需要用戶手工重啟設備,并再次進入BOOT菜單選擇“跳過配置文件”選項,在提示確認的時候輸入“N”,才能恢復啟動時加載配置文件。

???????? BOOT? MENU

?

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu

7. Skip current configuration file

8. Set bootrom password recovery

9. Set switch startup mode

0. Reboot

?

Enter your choice(0-9): 7

The current setting is running configuration file when reboot.

Are you sure to skip current configuration file when reboot? Yes or No(Y/N) n

Setting......done!?

2?? 2.2? 恢復Telnet登錄口令

如果用戶丟失了Telnet登錄口令,可以使用Console口登錄到控制臺界面,對Telnet的口令配置進行查看和修改。

(1)??????? 使用配置線纜將計算機的串口與H3C系列交換機的Console口進行連接,配置終端仿真程序,登錄到交換機控制臺界面。

(2)??????? 使用display current-configuration命令查看當前配置文件中對于用戶界面的認證配置。

<H3C> display current-configuration | begin user-interface

user-interface aux 0

?set authentication password simple test

user-interface vty 0 4

?user privilege level 3

?set authentication password simple h3c

?idle-timeout 0 0

#???????????????

&? 說明:

l????? display current-configuration命令中使用的“| begin user-interface”參數表示對輸出信息進行篩選,從第一個包含“user-interface”字符的配置開始顯示,在這里使用是為了快速定位配置文件中關于用戶接口的配置內容。關于使用正則表達式對輸出信息進行篩選的詳細信息,請參加各交換機產品的操作手冊。

l????? 由于用戶界面的缺省認證模式為“password”模式,因此如果在配置文件中沒有顯示“authentication-mode”配置信息,則表示當前的認證模式為“password”。

?

(3)??????? 通過命令修改認證方式和認證口令。

由顯示信息可以看到,當前配置的Telnet用戶界面認證模式為password,口令為h3c

l????????????? 如果用戶不需要改變登錄口令,可以退出當前控制臺界面,使用Telnet登錄,輸入口令“h3c”即可成功登錄。

l????????????? 如果用戶需要修改登錄口令,可以在用戶界面視圖下使用set authentication password命令更新口令,例如:

<H3C> system-view

[H3C] user-interface vty 0 4

[H3C-ui-vty0-4] set authentication password simple new

l????????????? 如果用戶需要修改Telnet登錄時的認證方式,可以在用戶界面視圖下使用authentication-mode命令進行操作,例如修改為在Telnet登錄時不進行認證:

<H3C> system-view

[H3C] user-interface vty 0 4

[H3C-ui-vty0-4] authentication-mode none

經過以上配置后,用戶再次登錄Telnet界面時,交換機將采用修改后的配置對用戶進行認證。

&? 說明:

建議用戶在完成上述配置后及時使用save命令保存配置,以避免交換機重啟后仍使用修改前的配置對用戶進行登錄認證。

?

?

轉載于:https://blog.51cto.com/cnc01/716765

總結

以上是生活随笔為你收集整理的H3C交换机S5500系列恢复控制台登录口令的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。