非法入侵 发表于 2018-7-21 08:21:10

如何恢复【cisco 3560】交换机的【密码】

第一步;重启 交换机  第二步;配置
  1) 按下MODE键后给3560加电。
  2) 在出现的菜单中选择第一项
  system software:
  flash_init
  load_helper
  boot
  switch:flash_init
  switch:load_helper
  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? :no
  6) 从用户模式登录特权模式,无需密码。
  Switch>en
  Switch#
  7) 恢复刚才重命令的配置文件名.
  Switch#ren flash:config.old flash:config.text
  Destination filename ?直接回车
  8) 用老的配置文件替换当前的配置文件。
  Switch#copy flash:config.text system:running-config
  Destination filename ?直接回车
  9) 修改使用密码。
  Switch#conf t
  10) 保存密码
  switch(config)#enable password song
  switch#wr or copy running-config starting-config
  The second step; configuration
  1) Press the MODE button to 3560 after the power on.
  2) In the menu that appears, select the first item
  system software:
  flash_init
  load_helper
  boot
  switch: flash_init
  switch: load_helper
  3) Rename flash: config.text file.
  switch: ren flash: config.text flash: config.old
  4) Restart the switch
  switch: boot
  5) When asked whether you have configured, select NO (because it can not find the configuration file config.text files)
  Would you like to enter the initial configuration dialog? : no
  6) The privileged mode from user mode login without password.
  Switch> en
  Switch #
  7) restore the configuration file name.
  Switch # ren flash: config.old flash: config.text
  Destination filename ? Directly enter
  8) with the old configuration file to replace the current configuration files.
  Switch # copy flash: config.text system: running-config
  Destination filename ? Directly enter
  9) Revise the use of passwords.
  Switch # conf t
  10) Save Password
  switch (config) # enable password song
  switch # wr or copy running-config starting-config
  OK here we have changed the password for the better.
页: [1]
查看完整版本: 如何恢复【cisco 3560】交换机的【密码】