如何恢复【cisco 3560】交换机的【密码】
[2011-8-19] 发布:
openlab 浏览:
第一步;重启
交换机
第二步;配置
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? [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
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? [Yes / no]: 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 [config.text]? Directly enter
8) with the old configuration file to replace the current configuration files.
Switch # copy flash: config.text system: running-config
Destination filename [running-config]? 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) 按下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? [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
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? [Yes / no]: 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 [config.text]? Directly enter
8) with the old configuration file to replace the current configuration files.
Switch # copy flash: config.text system: running-config
Destination filename [running-config]? 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.
本文转自 bilinyee博客,原文链接: http://blog.51cto.com/215363/934888
如需转载请自行联系原作者