清除CISCO交换机密码


第一步:重启交换机ide

第二步:配置spa

1)按下MODE键后,给3560加电。xml


2)在出现的菜单中选择第一项flash_initci

system software:flash

   flash_initit

   load_helperio

   bootclass

switch:flash_init登录


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

 

清除交换机配置命令:write erase
固然也可使用
erase startup-config就能够实现清除了
reload

相关文章
相关标签/搜索