2004-5-13 10:33
nlwang
给个IOS的破解吧,现在应该大多是IOS的。<br />Connect a terminal or PC with terminal emulation software to the console port. For more information,<br />refer to the switch hardware installation guide.<br /><br />Step 2 Set the line speed on the emulation software to 9600 baud.<br />Step 3 Unplug the switch power cord.<br />Step 4 Press the Mode button, and at the same time, reconnect the power cord to the switch.<br />You can release the Mode button a second or two after the LED above port 1X goes off. Several lines of<br />information about the software appear, as do instructions:<br />The system has been interrupted prior to initializing the flash file system. These<br />commands will initialize the flash file system, and finish loading the operating system<br />software:<br />flash_init<br />load_helper<br />boot<br />Step 5 Initialize the Flash file system:<br />switch: flash_init<br /><br />Step 6 If you had set the console port speed to anything other than 9600, it has been reset to that particular<br />speed. Change the emulation software line speed to match that of the switch console port.<br />Step 7 Load any helper files:<br />switch: load_helper<br />Step 8 Display the contents of Flash memory as in this example:<br />switch: dir flash:<br />The switch file system is displayed:<br />Directory of flash:/<br />3 drwx 10176 Mar 01 2001 00:04:34 html<br />6 -rwx 2343 Mar 01 2001 03:18:16 config.text<br />171 -rwx 1667997 Mar 01 2001 00:02:39 c2950-i6q412-mz.121-9.EA1.bin<br />7 -rwx 3060 Mar 01 2001 00:14:20 vlan.dat<br />172 -rwx 100 Mar 01 2001 00:02:54 env_vars<br />7741440 bytes total (3884509 bytes free)<br />Step 9 Rename the configuration file to config.text.old.<br />This file contains the password definition.<br />switch: rename flash:config.text flash:config.text.old<br />Step 10 Boot the system:<br />switch: boot<br />You are prompted to start the setup program. Enter N at the prompt:<br />Continue with the configuration dialog? [yes/no]: N<br />Step 11 At the switch prompt, change to privileged EXEC mode:<br />switch> enable<br />Step 12 Rename the configuration file to its original name:<br />switch# rename flash:config.text.old flash:config.text<br />Step 13 Copy the configuration file into memory:<br />switch# copy flash:config.text system:running-config<br />Source filename [config.text]?<br />Destination filename [running-config]?<br />Press Return in response to the confirmation prompts.<br />The configuration file is now reloaded, and you can use the following normal commands to change the<br />password.<br />Step 14 Enter global configuration mode:<br />switch# config terminal<br />Step 15 Change the password:<br />switch(config)# enable secret <password><br />or<br />switch(config)# enable password <passwor<br />Step 16 Return to privileged EXEC mode:<br />switch(config)# exit<br />switch#<br />Step 17 Write the running configuration to the startup configuration file:<br />switch# copy running-config startup-config<br />The new password is now included in the startup configuration.