您的位置:首页 > 其它

Cisco 3750密码恢复步骤

2013-10-16 09:35 337 查看
前两天给客户上架交换机做配置,进入后发现需要密码,客户忘记密码了,无奈只好破解掉console控制台密码。

1、给交换机断电
  2、用计算机超级终端登陆:9600-8-n-1 无流控制  
  3、按住交换机前面板的“mode”突起按钮,然后给设备供电,当千兆口1上面的灯不亮后,松掉“mode”突起按钮
  4、这时计算机超级终端上显示:
  The system has been interrupted prior to initializing the flash file system.
  The following commands will initialize the flash file system, and finish loading
  the operating system software:
  flash_init
  load_helper
  boot
  5、flash_init 敲入
  6、load_helper 敲入
  7. 输入dir flash:
  这时显示:
  Directory of flash:/

2 -rwx 5 <date> private-config.text
4 -rwx 2146 <date> config.text
7 drwx 192 <date> c3750-ipbase-mz.122-35.SE5 
 8、输入rename flash:config.text flash:config.old
  9、敲入boot,重启动交换机
  10、交换机启动完后显示:Continue with the configuration dialog? [yes ] :
  输入N

  11、输入enable
  12、进入enable模式后,输入rename flash:config.old flash:config.text
  13、接着按以下步骤操作:以下命令不要简写
  Switch# copy flash:config.text system:running-config
  Source filename [config.text]? (press Return)
  Destination filename [running-config]? (press Return)
  14 。接着按以下步骤操作:
  switch#configure t
  switch(config)#no ena secret (去掉超级管理密码)
switch(config)#ena secret cisco (重设置密码为cisco)
  switch(config)#no ena password (如果有的话则去掉了)
  switch(config)#exit
  switch#write
switch#reload (重载交换机)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: