思科3650交换机的密码恢复与之前的方法是不一样的,具体官方配置方法如下

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/3se/system_management/configuration_guide/b_sm_3se_3650_cg.pdf


SUMMARY STEPS【概要步骤】

1. Connect a terminal or PC to the switch.(用console线连接交换机)

2. Set the line speed on the emulation software to 9600 baud.(波特率设置为9600)

3. Power off the standalone switch or the entire switch stack.(关闭交换机)

4. Reconnect the power cord to the or the active switch. Within 15 seconds,press the Mode button while

the System LED is still flashing green. Continue pressing the Mode button untilall the system LEDs turn

on and remain solid; then release the Mode button.

(接通交换机电源,在15秒内,按下Mode按钮,同时System LED闪烁绿色,继续按Mode按钮,直到所有System LED变黄后松手)

5. After recovering the password, reload the switch or the active switch .(密码恢复后,重启交换机)

6. Power on the remaining switches in the stack.(打开堆叠中剩余交换机的电源,没有堆叠,忽略)

DETAILED STEPS【详细步骤】

Step 1 Connect a terminal or PC to the switch.(用console线连接交换机)

 Connect aterminal or a PC with terminal-emulation software to the switch console port.If you are recovering the

password for a switch stack, connect to the console port of the active switchor

(将终端连接到活动交换机的控制台端口)

? Connect aPC to the Ethernet management port. If you are recovering the password for aswitch stack, connect to

the Ethernet management port of a stack member .(如果有堆叠交换机,连接以太网管理接口)

Step 2 Set the line speed on the emulation software to 9600 baud.(波特率设置为9600)

Step 3 Power off the standalone switch or the entire switch stack.(关闭独立交换机或堆叠交换机)

Step 4 Reconnect the power cord to the or the active switch. Within 15 seconds,press the Mode button while the System LED

is still flashing green. Continue pressing the Mode button until all the systemLEDs turn on and remain solid; then release

the Mode button.

(接通交换机电源,在15秒内,按下Mode按钮,同时System LED闪烁绿色,继续按Mode按钮,直到所有System LED变黄后松手)

Switch:

Xmodem file system is available.

Base ethernet MAC Address: 20:37:06:4d:e9:80

Verifying bootloader digital signature.

The system has been interrupted prior to loading the operating

system software, console will be reset to 9600 baud rate.

proceed to the Procedure with Password Recovery Enabled section, and follow thesteps.

Procedure with Password Recovery Enabled

Step 1 Initialize the flash file system.

Switch: flash_init (初始化boot_loader)

Step 2 Ignore the startup configuration with the following command:

Switch: SWITCH_IGNORE_STARTUP_CFG=1 (忽略启动配置startup-config)

Step 3 Boot the switch with the packages.conf file from flash.

Switch: boot flash:packages.conf(启动加载无配置的系统)

Step 4 Terminate the initial configuration dialog by answering No.

Would you like to enter the initial configuration dialog? [yes/no]: No(您要输入初始配置对话框吗?, 选否)

Step 5 At the switch prompt, enter privileged EXEC mode.

Switch> enable

Switch#

Step 6 Copy the startup configuration to running configuration.

Switch# copy startup-config running-config Destination filename[running-config]?

(将startup-config 加载到running-config)

Press Return in response to the confirmation prompts. The configuration file isnow reloaded, and you can change the

password.

Step 7 Enter global configuration mode and change the enable password.(进入全局模式,改密码)

Switch# configure terminal

Switch(config)#

Step 8 Write the running configuration to the startup configuration file.
(改完密码后,将running-config的配置保存到startup-config)

Switch# copy running-config startup-config

Step 9 Confirm that manual boot mode is enabled.

Switch# show boot(查看启动项)

BOOT variable = flash:packages.conf;

Manual Boot = yes

Enable Break = yes

Step 10 Reload the switch.

Switch# reload (重启交换机)

Step 11 Return the Bootloader parameters (previously changed in Steps 2 and 3)to their original values.

(重启交换机后,按住Mode键,进入boot_loader模式)

Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0 (启动加载带配置的系统)

Step 12 Boot the switch with the packages.conf file from flash.

Switch: boot flash:packages.conf (重启交换机)

Step 13 After the switch boots up, disable manual boot on the switch.

Switch(config)# no boot manual (交换机启动后,在交换机上禁用手动引导,保存配置)