Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Article Number: 000120220


How to Recover from a Forgotten Password Using U-boot on Dell EMC Networking OS9 Switches

Summary: Password recovery using U-boot on Dell EMC Networking OS9 Switches.

Article Content


Instructions

This article explains how to complete the password recovery process on a Force10 S Series switch, including the following:

1.  How to enter the U-boot menu 
2.  Ignore Startup Configuration
2.  Username and Password Recovery
3.  Resetting the enable password
4.  Saving the Configuration


 

Warning: Password recovery requires a reboot of the switch.
 

Entering U-Boot prompt


1. Open a serial console session to the switch
2. Power cycle the switch
3. Press Esc when you see the following prompt...

 
"Hit Esc key to interrupt autoboot:"
or
"Hit any key to stop autoboot:"

You will now see a => prompt, which is the U-Boot prompt

 

Ignore Startup Configuration


Once in the U-boot prompt, follow these steps to recover from a forgotten password.
Enter the following commands to ignore the startup-configuration
=> setenv stconfigignore true
=> saveenv
=> reset

 
 

 

HOW10671_en_US__1icon Note: Setting the switch to ignore the startup-config as done above, only affects the next reboot. It is not a permanent environment setting.

 
When the switch is done booting, apply the startup-configuration to the running-configuration

Dell>enable
Dell#copy startup-config running-config

 

Enable Password/Secret Recovery


The following commands removes any enable password or enable secret from the switch

Dell#config
Dell(config)#no enable password
Dell(config)#no enable secret
 
The following command adds an enable secret to the switch. For an enable password, just replace the option "secret" with "password". Enable secret uses MD5 as opposed to DES, and is a stronger encryption.
Dell(config)#enable secret <enter password here>
 


Username and Password Recovery


The following command finds any configured users, and removes them
Dell(config)#do show run | grep username
username Delluser password 7 66a88a701a5b6b80 privilege 15

Dell(config)#no username Delluser
 
The following command creates a new user "Delluser" and password "P@$$w0rd123" with read and write access
Dell(config)#username Delluser password P@$$w0rd123 privilege 15
 
 

Resetting the Enable Password


Remove all authentication statements for the console, if needed.
Dell(conf)#line console 0
Dell(config-line-console)#no authentication login no password
Dell(config-line-console)#do write memory
Dell(config-line-console)#
exit

 
 

Saving Configuration


When done, save the configuration and reboot the switch.
Dell(config)#do write memory
Dell(config)#do reload


 

HOW10671_en_US__1icon Note: Please contact Dell Support for assistance with reconfiguring the authentication settings of the console line, if needed.

 


 

 

Article Properties


Affected Product

Force10 S50-01-GE-48T-V, Force10 S50-01-GE-48T, PowerSwitch S4810P, PowerSwitch S4810-ON, Force10 S50P, Force10 S55T, Force10 S60-44T

Last Published Date

21 Feb 2021

Version

3

Article Type

How To