- 論壇徽章:
- 0
|
1.用console線連接到交換機,通過超級終端或Secure CRT連接到交換機;
2.一直按住交換機前面板上的 MODE鍵,插上交換機電源;
3.約40秒后放開Mode鍵;
4.此時會出現(xiàn)如下界面:
swith: flash_init
load_helper
boot
運行flash_init命令,然后輸入如下命令:
rename flash:\config.text flash:\config.old //更名含有password的配置文件;
然后輸入boot;
5.此時再輸入enable,就可以直接進入特權(quán)模式(因為此時的配置文件已經(jīng)沒有password了此時再輸入:
#rename flash:\config.old flash:\config.text
#copy flash:\config.text system:running-config
6.修改新的口令:
#configure terminal
#enable secret 你的新口令
7.保存配置:wr
本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/12367/showart_1852915.html |
|