password recovery fails from Bootrom mode in x670V-48x

  • 0
  • 1
  • Question
  • Updated 4 years ago
My x670v-48x switch is running in standalone mode with sw version 15.1.2.12.  The switch had a default configuration and I tried to set a new admin password by issuing the following command

configure account admin encrypted *****

My existing console session timed out and when I tried to relogin, I could not do so.  I also tried the default admin with no password, but it does not work. 

 I did a hard reboot of the switch and followed the procedure to press the Spacebar key to get into the bootrom mode. 

I think I am in the bootrom mode and not in the bootstrap mode as I see the <BootRom> prompt.  I checked the documentation and also googled on many forums and in all cases it is mentioned that I must do a "config none" in the bootrom mode to boot the switch with the default config.

Unfortunately, when I enter the "config none" command, I get the following error

BootRom > config none
config: Command not found. Try 'h' for help!

This is the commands that I see in the Bootrom prompt

BootRom > h
                             Boot and Load
                            --------------
   pboot  boot
   oload  load memory from hostport
    load  load file
    boot  boot an image
                                 Misc
                            --------------
  loader  Sets which BootLoader BootStrap will boot
    call  call function
   devls  list devices
  reboot  Reboot system (hard reset)
   flash  program flash memory
    show  display information
                               Debugger
                            --------------
     cpu  select cpuinfo
       c  continue execution
       t  trace (single step)
      to  trace (step over)
      db  delete break point(s)
       b  set break point(s)
       g  start execution (go)
     sym  define symbol
      ls  list symbols
       r  display/set register
       l  list (disassemble) memory
      bt  stack backtrace
                                 Shell
                            --------------
       h  on-line help
    help  on-line help
       ?  on-line help
      sh  command shell
    vers  print version info
    eval  evaluate and print result
    stty  set tty options
    plvl  Set the debug print level
      hi  display command history
   about  about PMON2000
                                Network
                            --------------
  ifaddr  Configure Network Interface
defflash  Program DEFAULT BootLoader image from Compact Flash or Ethernet
altflash  Program ALTERNATE BootStrap image from Compact Flash or Ethernet
    ping  ping remote host
                                Memory
                            --------------
     map  show memory map
       m  modify memory
       d  display memory
 compare  compare memory to memory
    copy  copy memory to memory
    fill  fill memory
  search  search memory
      mt  tests all available memory up to 2GB using 64 bit physical addresses
                                Device
                            --------------
  update  Update Boot Flash Code
                              Environment
                            --------------
     env  display variable
     set  display/set variable
   unset  unset variable(s)
    eset  edit variable
                             Compact Flash
                            --------------
  cfopen  open a file on the CF
 cfclose  close a file on the CF
  cfread  read <n> bytes from CF file
     dir  list contents of CF directory
      cd  change working CF directory
     pwd  print working CF directory
                               Download
                            --------------
configip  configure the bootloader ip address
download  download an image
                                  CF
                            --------------


BootRom >





Please help.  I dont mind if my configuration is lost, but I somehow have to recover this switch at the earliest.


Photo of Yusuf

Yusuf

  • 90 Points 75 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Yusuf

very strange here's what I get

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.
Copyright 2003 - 2012 Extreme Networks, Inc.


BootRom > h
                             Boot and Load                           
                            --------------                           
   pboot  boot                                                               
   oload  load memory from hostport                                          
    boot  boot an image                                                      
                                 Misc                                
                            --------------                           
  loader  Sets which BootLoader BootStrap will boot                          
    call  call function                                                      
   devls  list devices                                                       
  reboot  Reboot system (hard reset)                                         
   flash  program flash memory                                               
    show  display information                                                
  config  select configuration                                               
                               Debugger                              
                            --------------                           
BootRom > config none
Configuration selected: none


Config should be in Misc.

do you know what bootrom version you have?

P

Photo of Yusuf

Yusuf

  • 90 Points 75 badge 2x thumb
I dont know the bootrom version.  Its a new switch so I suspect it is running one of the newer versions.  I found out on a different thread that this command "config none" has been disabled in the latest bootrom versions.  Is there any flag I can set in the env options to boot with default configuration?
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
doing a vers command from the bootrom will show the version I am on version 2.0.1.7

P
Photo of Yusuf

Yusuf

  • 90 Points 75 badge 2x thumb
Hi Paul.
  It is 2.0.2.1 version.


Thx,
Photo of Stephane Grosjean

Stephane Grosjean

  • 762 Points 500 badge 2x thumb
Hi,
in this bootrom version, you don't have anymore the config none option. You should reach GTAC for a password recovery procedure.
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
Yusuf,

BootRom > config none

config: Command not found. Try 'h' for help!

 

We need to upgrade switch to any EXOS software from BOOTROM, it will erase all information from flash memory (including configuration, XOS image file). Therefore, it will allow you to login into the switch using the default username and password, but it will not show “config none” command. To provide more security we have disabled the “config none” command in 2.0.2.1 bootrom (Latest).

If customer want to have “config none” command in switch then they can downgrade the bootrom to 2.0.1.7. However, it is not recommended.


We have to execute these at the BootRom after we connect MGMT port to the network which is reachable to the TFTP Server.

# configip ipaddress <IP Address> gateway <Gateway Address> 

# download image <TFTP Server IP> <EXOS File Name>


Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hey Yusuf

I did verify, as Sumit mentioned, that this version of bootrom took out the config option.  I found out from PLM that the new bootrom version 2.0.2.3 will have this feature back and should be available soon.

P