Cisco3750交換機密碼重置的方法網絡
1.啓用超級終端並出現鏈接界面
2.拔掉交換機的電源.
3.按下交換機上的Mode按鈕,與此同時,從新插上交換機的電源線.
4.當交換機左邊的sys燈會慢慢的閃動,(細心的話會發現部分燈紅色的閃過),按住mode按鈕直到sys燈不閃動(常亮狀態).不然提早鬆開的按鈕的話會直接進入正常的啓動,必須跳回步驟2從新操做
5.能夠鬆開Mode按鈕ide
以後系統將顯示一些指示信息:
The system has been interrupted prior to initializing the flash file system.The following
commands will initialize the flash file system, and finish loading theoperating system software:
flash_init /---初始化flash文件系統---/
load_helper /---加載幫助文件---/
boot /---啓動設備進入正常的模式---/spa
步驟:
switch:
Switch:flash_init
Switch:dir flash: /---查看Flash的文件名字能夠用來確認文件名爲config.text---/
Switch:rename flash:config.text flash:config.text.old /---把配置文件重命名,固然你能夠不改成config.text.old,只要文件名和原來的不相同就能夠---/
Switch:boot /---手動啓動交換機---/
因爲配置文件改過了,因此交換機找不到默認的config.text而出現配置的對話嚮導,選擇n而後回車而後咱們就會繞過原來的password而進入到:
Switch>
Switch>en /--能夠進入特權模式--/
Switch#rename flash:config.text.old flash:config.text /---恢復交換機配置文件---/
Switch#copy flash:config.text system:running-config /---保存配置到DRAM裏---/
Switch#config t
Switch(config)#no enable password /---幹掉特權模式舊密碼---/
Switch(config)#no enable secret /---幹掉加祕密碼---/
Switch(config)#exit
Switch#copy run start /---把當前配置的文件寫回Flash---/flash
用這個方法修改密碼不會把原來的配置文件內容清掉。特別是一個現成的大型網絡裏已經在運行的交換機,這樣比較保險!it