Cisco交换机密码恢复

交换机密码恢复

   1.拔掉电源插头

   2.重新插好电源后,立刻按住交换机上的“mode”键,直到显示”switch命令提示

   3.使用提示命令“flash_init”初始化Flash

   4.config.text文件名改为config.old

     Switch:rename  flash:config.text  flash:config.old

   5.重启交换机

     Switch:boot

   6.把配置文件的名字改回来

     Switch:rename  flash:config.old  flash:config.text

   7.手工加载配置文件

     Switch#copy  flash:config.text  system:running-config

   8.配置文件加载完成后,需进入配置模式修改密码,最后保存配置,完成密码修复。

 

恢复IOS

  1.Switch:flash_init

 2. Switch: copy  Xmodem: flash:c2960-lanbase-mz.1222-35.se5.bin

 3.设置超级终端的Xmodem选项,选择1K/s

 4.reboot

  


你可能感兴趣的:(修改密码,配置文件,交换机)