本文共 3220 字,大约阅读时间需要 10 分钟。
SUMMARY STEPS:
DETAILED STEPS:
Step 1 :Connect a terminal or PC to the switch.• Connect a terminal or a PC with terminal-emulation software to the switch console port. If you are recovering thepassword for a switch stack, connect to the console port of the active switch or• Connect a PC to the Ethernet management port. If you are recovering the password for a switch stack, connect tothe Ethernet management port of a stack member .Step 2 :Set the line speed on the emulation software to 9600 baud.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 LEDis still flashing green. Continue pressing the Mode button until all the system LEDs turn on and remain solid; then releasethe Mode button.•Switch:Xmodem file system is available.Base ethernet MAC Address: 20:37:06:4d:e9:80Verifying bootloader digital signature.The system has been interrupted prior to loading the operatingsystem software, console will be reset to 9600 baud rate.proceed to the Procedure with Password Recovery Enabled section, and follow the steps:
Step 1 Initialize the flash file system.
Switch: flash_initStep 2 Ignore the startup configuration with the following command:Switch: SWITCH_IGNORE_STARTUP_CFG=1Step 3 Boot the switch with the packages.conf file from flash.Switch: boot flash:packages.confStep 4 Terminate the initial configuration dialog by answering No.Would you like to enter the initial configuration dialog? [yes/no]: NoStep 5 At the switch prompt, enter privileged EXEC mode.Switch> enableSwitch#Step 6 Copy the startup configuration to running configuration.Switch# copy startup-config running-config Destination filename [running-config]?Press Return in response to the confirmation prompts. The configuration file is now reloaded, and you can change the
password.Step 7 Enter global configuration mode and change the enable password.Switch# configure terminalSwitch(config)#Step 8 Write the running configuration to the startup configuration file.Switch# copy running-config startup-configStep 9 Confirm that manual boot mode is enabled.Switch# show bootBOOT variable = flash:packages.conf;Manual Boot = yesEnable Break = yesStep 10 Reload the switch.Switch# reloadStep 11 Return the Bootloader parameters (previously changed in Steps 2 and 3) to their original values.Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0Step 12 Boot the switch with the packages.conf file from flash.Switch: boot flash:packages.confStep 13 After the switch boots up, disable manual boot on the switch.Switch(config)# no boot manual转载地址:http://tkngx.baihongyu.com/