How to forget the password of the cisco2960 vswitch

Source: Internet
Author: User

Password cracking for Cisco 2960
1. Press the model key, power on, and hold down the mode button until the Sys light does not Flash (always on) until switch: mode appears
2. initialize the flash card

switch: flash_initInitializing Flash...flashfs[0]: 603 files, 19 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 32514048flashfs[0]: Bytes used: 8335872flashfs[0]: Bytes available: 24178176flashfs[0]: flashfs fsck took 10 seconds....done Initializing Flash.Setting console baud rate to 9600...

3. view Flash Content

switch: dir flash:Directory of flash:/2    -rwx  1481      <date>               config.text.renamed3    -rwx  5         <date>               private-config.text.renamed7    drwx  192       <date>               c2960-lanbase-mz.122-35.SE524178176 bytes available (8335872 bytes used)

4. Rename the password file name and view

switch: rename flash:config.text.renamed flash:config.text.renamed.oldswitch: dir flash:Directory of flash:/2    -rwx  1481      <date>               config.text.renamed.old3    -rwx  5         <date>               private-config.text.renamed7    drwx  192       <date>               c2960-lanbase-mz.122-35.SE524178176 bytes available (8335872 bytes used)

5. Restart

switch: bootLoading "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin"[email protected]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@File "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin" uncompressed and installed, entry point: 0x3000executing...              Restricted Rights LegendUse, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.           cisco Systems, Inc.           170 West Tasman Drive           San Jose, California 95134-1706Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2007 by Cisco Systems, Inc.Compiled Thu 19-Jul-07 20:06 by nachenImage text-base: 0x00003000, data-base: 0x00D40000Initializing flashfs...flashfs[1]: 603 files, 19 directoriesflashfs[1]: 0 orphaned files, 0 orphaned directoriesflashfs[1]: Total bytes: 32514048flashfs[1]: Bytes used: 8335872flashfs[1]: Bytes available: 24178176flashfs[1]: flashfs fsck took 1 seconds.flashfs[1]: Initialization complete....done Initializing flashfs.POST: CPU MIC register Tests : BeginPOST: CPU MIC register Tests : End, Status PassedPOST: PortASIC Memory Tests : BeginPOST: PortASIC Memory Tests : End, Status PassedPOST: CPU MIC interface Loopback Tests : BeginPOST: CPU MIC interface Loopback Tests : End, Status PassedPOST: PortASIC RingLoopback Tests : BeginPOST: PortASIC RingLoopback Tests : End, Status PassedPOST: PortASIC CAM Subsystem Tests : BeginPOST: PortASIC CAM Subsystem Tests : End, Status PassedPOST: PortASIC Port Loopback Tests : BeginPOST: PortASIC Port Loopback Tests : End, Status PassedWaiting for Port download...Completecisco WS-C2960-24TT-L (PowerPC405) processor (revision D0) with 61440K/4088K bytes of memory.Processor board ID FOC1202W1WGLast reset from power-on1 Virtual Ethernet interface24 FastEthernet interfaces2 Gigabit Ethernet interfacesThe password-recovery mechanism is enabled.64K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address       : 00:1F:27:44:5F:00Motherboard assembly number     : 73-10390-04Power supply part number        : 341-0097-02Motherboard serial number       : FOC12022J7GPower supply serial number      : AZS115017D4Model revision number           : D0Motherboard revision number     : A0Model number                    : WS-C2960-24TT-LSystem serial number            : FOC1202W1WGTop Assembly Part Number        : 800-27221-03Top Assembly Revision Number    : B0Version ID                      : V03CLEI Code Number                : COM3L00BRBHardware Board Revision Number  : 0x01Switch   Ports  Model              SW Version              SW Image            ------   -----  -----              ----------              ----------         *    1   26     WS-C2960-24TT-L    12.2(35)SE5             C2960-LANBASE-M     Press RETURN to get started!Would you like to terminate autoinstall? [yes]:         --- System Configuration Dialog ---

6. In privileged mode, change the configuration file in flash back to its original name.

Would you like to enter the initial configuration dialog? [yes/no]: nSwitch>en Switch#rename flash:config.text.renamed.old flash:config.text.renamedDestination filename [config.text.renamed]?Switch#Switch#copy flash:config.text.renamed system:running-config


How to forget the password of the cisco2960 vswitch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.