Cisco3560交換機密碼恢復

第一步:重啓交換機
第二步:配置
1)按下MODE鍵後,給3560加電。

2)在出現的菜單中選擇第一項flash_init。
system software:
  flash_init
  load_helper
  boot
switch:flash_init
switch:load_helper
3)重命名flash:config.text文件。
switch: ren flash:config.text flash:config.old
4)重啓交換機
switch: boot

5)當出現問你是否進行配置時,選擇NO(因爲它找不到配置文件config.text文件了)。
Would you like to enter the initial configuration dialog? [yes/no]:no
6)從用戶模式登錄特權模式,無需密碼。
Switch>en
Switch#
7)恢復剛纔重命令的配置文件名.
Switch#ren flash:config.old flash:config.text
Destination filename [config.text]? 直接回車
8)用老的配置文件替換當前的配置文件。
Switch#copy flash:config.text system:running-config
Destination filename [running-config]? 直接回車
9)修改使用密碼。
Switch#conf t
switch(config)#enable secret cisco
10) 保存密碼,完成密碼修改。
switch#wr 或者 copy running-config starting-config

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章