Reset Search
 

 

Article

How to Recover a Stack and its Configuration Without the Password

« Go Back

Information

 
TitleHow to Recover a Stack and its Configuration Without the Password
Objective
This procedure will help recover a stack and its configuration after the password has been lost. 
Environment
  • SummitStack
  • EXOS
Procedure
1.    Connect to the master switch via console connection.
login:
2.    Disconnect both stacking cables from master switch (Slot 1).

3.    Power cycle master switch.

4.    During the boot process “hold the spacebar” to enter bootRom.
Extreme Networks

    Alternate BootStrap Image
    Starting CRC of Default image
    Using Default image ...

    Extreme Networks

    Default BootLoader Image
    DRAM Post

    Press and hold the <spacebar> to enter the bootrom.

5.    In the bootRom, enter  the commands:
    a.     “config none”
    b.     “boot”
    
6.    The switch should now boot to factory default settings. Credentials: admin/no password.
login: admin
password:
    
7.    Once logged into the switch: configure an IP address on VLAN: mgmt and connect a PC with a TFTP server.
    a.    configure vlan mgmt ipaddress <SWITCH_IP>
    
8.    Use “ls” to list files present on the switches memory.

9.    Use “TFTP put” to collect the original configuration file. Likely “primary.cfg”. 
    a.    Tftp put <TFTP_SERVER_IP> primary.cfg
    
10.    Save a new config file with the current factory default credentials
    a.    Save configuration nopassword
    
11.    Use TFTP to collect this file
    a.    Tftp put <TFTP_SERVER_IP> nopassword.cfg
    
12.    Use a text editor such as Notepad++ to replace the password data as demonstrated below:
    Primary.cfg
    <account><name><![CDATA[admin]]></name><password><![CDATA[DlWbeK$OF3c54bLuRbBMtpy19rfP/]]></password><default_val>0</default_val><readwrite>1</readwrite></account>

    Nopassword.cfg
    <account><name><![CDATA[admin]]></name><password><![CDATA[DlWRiK$y/1Cl8umtCcGlxaRAW8.m/]]></password><default_val>1</default_val><readwrite>1</readwrite></account>

    Primary.cfg
    <account><name><![CDATA[admin]]></name><password><![CDATA[DlWRiK$y/1Cl8umtCcGlxaRAW8.m/]]></password><default_val>0</default_val><readwrite>1</readwrite></account>

13.    Use TFTP to overwrite the configuration on the switch with the password edited version.
    a.    tftp get <TFTP_SERVER_IP> primary.cfg force-overwrite
    
14.    Use the new configuration
    a.    Use configuration primary
    b.    Reboot
    
15.    Login to switch with admin/no password and verify that the stacking configuration is present.

16.    If no, collect any other .cfg files present on the switch and repeat the process.

17.    If yes, remove stacking cables from the next node.

18.     Power cycle the next switch and connect the stacking link to the running recovered switch. This switch should now boot as a node in the recovered stack.

19.    Repeat Steps 17 and 18 until all nodes are now members of the recovered stack.

20.    Connect the final stacking cable to complete the ring topology. No rebooting necessary.

21.    The stack recovery should now be complete and you may now configure a new password.
    a.    Configure account admin password
    
22.    Configure a fail-safe account.
    a.    Configure failsafe-account
    
23.    Synchronize the stack to insure the new configuration matches on all slots.
    a.    Synchronize stacking
Additional notes
In some bootroms the option "config none" does not exist. It has been removed and added back in later bootroms. See article How to access an EXOS switch using a one-time failsafe password

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255