Passwort von Cisco Switch zurücksetzen

Masamune2

Admiral
Registriert
Okt. 2009
Beiträge
7.791
Servus,

ich hab jetzt drei Anleitungen die google ausgespuckt hat durch... jede sagt was anderes, keine davon funktioniert.

Habe hier einen Cisco Catalyst 2948G-GE-TX bei dem ich das Passwort zurücksetzen muss.

Falls es hilft:

Code:
Console> show version
WS-C2948G-GE-TX Software, Version NmpSW: 8.3(2)GLX
Copyright (c) 1995-2004 by Cisco Systems, Inc.
NMP S/W compiled on Mar 12 2004, 16:18:42
GSP S/W compiled on Mar 12 2004, 15:22:33

System Bootstrap Version: 6.1(6)

Hardware Version: 1.1  Model: WS-C2948G-GE-TX  Serial #: 

Mod Port Model              Serial #              Versions
--- ---- ------------------ -------------------- ---------------------------------
1   0    WS-X2948G-GE-TX    XXXXXXXXXXX          Hw : 1.1
                                                 Gsp: 8.3(2.0)
                                                 Nmp: 8.3(2)GLX

Kann mir jemand sicher sagen wie ich bei diesem Modell und Cisco OS das Passwort weg bekomme?
 
Kommst per Console an den Switch ran ?
Ergänzung ()

Vermute mal ja anhand der Bildes.
Dann versuch mal folgendes, sollte bei Switchen auch gehen:

Router Password Recovery Procedure

To recover a router password, do the following:

Prepare the Device

Step 1. Connect to the console port.

Step 2. If you have lost the enable password, you would still have access to user EXEC mode. Type show version at the prompt, and record the configuration register setting.

R>#show version
<show command output omitted>
Configuration register is 0x2102
R1>

The configuration register is usually set to 0x2102 or 0x102. If you can no longer access the router (because of a lost login or TACACS password), you can safely assume that your configuration register is set to 0x2102.

Step 3. Use the power switch to turn off the router, and then turn the router back on.

Step 4. Issue a Break signal from the terminal within 60 seconds of power up to put the router into ROMmon. A Break signal is sent using a break key sequence appropriate for the terminal program and the operating system.

Step 5. Type confreg 0x2142 at the rommon 1> prompt. This causes the router to bypass the startup configuration where the forgotten enable password is stored.

Step 6. Type reset at the rommon 2> prompt. The router reboots, but ignores the saved configuration.

Step 7. Type no after each setup question, or press Ctrl-C to skip the initial setup procedure.

Step 8. Type enable at the Router> prompt. This puts you into enable mode, and you should be able to see the Router# prompt.

Step 9. Type copy startup-config running-config to copy the NVRAM into memory. Be careful! Do not type copy running-config startup-config or you will erase your startup configuration.

Step 10. Type show running-config. In this configuration, the shutdown command appears under all interfaces because all the interfaces are currently shut down. Most importantly though, you can now see the passwords (enable password, enable secret, vty, console passwords) either in encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password.

Step 11. Type configure terminal. The R1(config)# prompt appears.

Step 12. Type enable secret password to change the enable secret password. For example:

R1(config)# enable secret cisco

Step 13. Issue the no shutdown command on every interface that you want to use. You can issue a show ip interface brief command to confirm that your interface configuration is correct. Every interface that you want to use should display up up.

Step 14. Type config-register configuration_register_setting. The configuration_register_setting is either the value you recorded in Step 2 or 0x2102 . For example:

R1(config)#config-register 0x2102

Step 15. Press Ctrl-Z or type end to leave configuration mode. The R1# prompt appears.

Step 16. Type copy running-config startup-config to commit the changes.

You have now completed password recovery. Entering the show version command will confirm that the router will use the configured config register setting on the next reboot.
 
Zuletzt bearbeitet:
Klappt leider auch damit nicht...

Code:
rommon 1 > confreg 0x2142
confreg: Command not found.

Den Befehl erkennt er schonmal nicht.

Stattdessen geht aber das hier:
Code:
set boot config-register 0x2142

Nach dem booten scheint er auch die Config zu ignorieren:
Code:
%SYS-4-NVLOG:initBootNvram:ignore-config enabled: clear config all

Wenn ich enable eingebe fragt er aber immer noch nach dem Passwort...
 
Ok damit funktioniert es schonmal... Ich gehe mal davon aus, dass das was ich vor knapp 10 Jahren mal gelernt habe alles auf IOS funktioniert, mit dem CatOS aber nicht.

Gibt es eine Möglichkeit den Switch mit iOS zu versehen?

Einen Wartungsvertrag oder Support bei Cisco gibt es nicht. Die Switche sind gebraucht aus Konkursmasse gekauft.
 
Hm ok dann muss ich wohl mal lernen mit CatOS klar zu kommen ^^

Danke für eure Hilfe!
 
Das ist nicht so schwer. Vorsicht: Es gibt kein Write. Das was du machst, ist aktiv - auch nach einem Reload. Der gute alte Trick "Bevor ich mich abschiesse scedule ich mal lieber einen reload" funktioniert hier nicht ;-)
 
Zurück
Oben