第一步;重启交换机
第二步;配置
1) 按下MODE键后给3560加电。
2) 在出现的菜单中选择第一项
system software:
flash_init
load_helper
boot
switch:flash_init
switch:load_helper
3) 重命名flash:文件。
switch: ren flash: flash:
4) 重启交换机
switch: boot
5) 当出现问你是否进行配置时,选择NO(因为它找不到配置文件文件了)
Would you like to enter the initial configuration dialog? [yes/no]:no
6) 从用户模式登录特权模式,无需密码。
Switch>en
Switch#
7) 恢复刚才重命令的配置文件名.
Switch#ren flash: flash:
Destination filename []?直接回车
8) 用老的配置文件替换当前的配置文件。
Switch#copy flash: 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
OK到这里我们的密码就改好了