Dell X1018P - Revert image-1 to active using CLI, after failed firmware update
Hi all,
Tried to update firmware to 3.0.1.9 using the admin GUI, but it failed and haven't been able to logon since despite factory reset.
Have noticed via CLI that the active image is firmware version 3.0.1.9 and the startup-config is also pointing to this:
------------------ show bootvar ------------------ Image Filename Version Date Status ----- --------- --------- --------------------- ----------- 1 image-1 3.0.0.64 25-Feb-2015 09:05:11 Not active 2 image-2 3.0.1.9 12-Oct-2021 11:42:18 Active*
startup-config:
config-file-header
v3.0.1.9 / RASTUTE_800_021 CLI v1.0 set system mode L2 policy-based-vlans active
Is there any way I can switch back to select image-1 for the next boot using CLI?
Normally this asterisk "*" belongs to the not active image and it indicates that the image will be run on the next reboot. I haven't been able to find a way to change that from here at the moment. But can you try to restore your backup from here? https://dell.to/3faQcjI;
DELL-Erman O
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!
Thanks for the link, but those steps are for the admin console, which I cannot access since the failed firmware upgrade. I haven't been able to find equivalent CLI instructions.
I am not sure that is an option due to being limited on what you can do on the X Series switches. In your case, what I would recommend is that you either replace or factory reset then reinstall again.
Let me know if that resolves the issue.
DELL-Chris H
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!
Hi Chris, thanks for your reply. I have tried to factory reset, but the switch still loads the later software version and not the factory version, see below:
User Name:admin Password:Resetting device to factory defaults.
************************************************** ***************** SYSTEM RESET ***************** ************************************************** Boot1 Checksum Test...............................PASS
BOOT Software Version 1.0.0.17 Built 19-Dec-2015 20:01:32
Networking device with Marvell ARM CPU core. 256 MByte SDRAM. I-Cache 16 KB. D-Cache 16 KB. L2 Cache 256 KB. Cache Enabled.
MAC Address : f4:8e:38:19:db:40.
Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom. Preparing to decompress... 100% Decompressing SW from image-2 100%
OK Running from RAM...
******************************************************************** *** Running SW Ver. 3.0.1.9 Date 12-Oct-2021 Time 11:42:00 *** ********************************************************************
HW version is 00.00.02 Base Mac address is: f4:8e:38:19:db:40 Dram size is : 256M bytes Dram first block size is : 208896K bytes Dram first PTR is : 0x3000000 Dram second block size is : 4096K bytes Dram second PTR is : 0xFC00000 Flash size is: 32M .............................................................................................................................................................................................................................................................................................................................................................................................09-May-2016 11:42:15 %CDB-I-LOADCONFIG: Loading running configuration. 09-May-2016 11:42:15 %CDB-I-LOADCONFIG: Loading startup configuration. Device configuration: Slot 1 - X1018P
------------------------------------ -- Unit Standalone -- ------------------------------------
09-May-2016 11:42:21 %Entity-I-SEND-ENT-CONF-CHANGE-TRAP: entity configuration change trap. Poe Cleaning status register Tapi Version: v1.9.7 Core Version: v1.9.7 09-May-2016 11:43:35 %INIT-I-InitCompleted: Initialization task is completed
09-May-2016 11:43:52 %Environment-I-FAN-STAT-CHNG: FAN# 1 status changed - operational. 09-May-2016 11:43:52 %SNMP-I-CDBITEMSNUM: Number of running configuration items loaded: 0
09-May-2016 11:43:52 %SNMP-I-CDBITEMSNUM: Number of startup configuration items loaded: 0 The SSH Server is generating a default RSA key (2048 bits). This may take a few minutes, depending on the key size. 09-May-2016 11:43:53 %Entity-I-SEND-ENT-CONF-CHANGE-TRAP: entity configuration change trap. The SSH Server is generating a default DSA key (1024 bits). This may take a few minutes, depending on the key size. 09-May-2016 11:44:32 %SSL-I-SSLCTASK: Starting autogeneration of self-signed certificate - 2048 bits
Generating RSA private key, 2048 bit long modulus 09-May-2016 11:44:35 %SYSLOG-N-LOGGING: Logging started. 09-May-2016 11:44:43 %SSL-I-SSLCTASK: Autogeneration of self-signed certificate was successfully completed
Generating RSA private key, 2048 bit long modulus
User Name:admin Password:*****
console#show version SW version 3.0.1.9 ( date 12-Oct-2021 time 11:42:00 ) Boot version 1.0.0.17 ( date 19-Dec-2015 time 20:01:32 ) HW version 00.00.02 console#show bootvar Image Filename Version Date Status ----- --------- --------- --------------------- ----------- 1 image-1 3.0.0.64 25-Feb-2015 09:05:11 Not active 2 image-2 3.0.1.9 12-Oct-2021 11:42:18 Active*
"*" designates that the image was selected for the next boot
Hello, as the OP said "Tried to update firmware to 3.0.1.9 using the admin GUI, but it failed" if that's the case, we recoomeind use CLI mode. Hope the attached helps. I will leave here for the future reference.
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!
I have just had the same issue as described above, but I am not able to even connect to TFTP as the MAC address keeps being blocked by SNMP when trying to connect.
Is there anyway to pull the file from the front facing USB port.. I could not see a way to identify this in the CLI although a USB drive can be detected when plugged in. Alternatively, would anyone have an idea how to edit the config to allow access to the network device.
This is very frustrating as I was setting up a clean install and thought that it would be good practice to install the latest F/W version.
Hi, in order to retrieve the running configuration file from a TFTP server or a USB flash drive, you’ll need to establish a connection between the switch and a computer or laptop using a serial cable. You’ll also need to utilize a terminal emulation software such as PuTTY or HyperTerminal.
I have PuTTY running and connected and can see the scripts loading and telling me that a connecting machine via LAN is blocked by the SNMP.
What would be the syntax to allow me to copy from a USB flash drive connected to either switch itself or through the terminal? I saw the code above to copy from TFTP but as I can't connect through the LAN this is not an option (I think).
Your USB may have a hidden security partition that is not recognized by the switch. Depending on the manufacturer of the flash drive you may need to use different utilities to manage the drive partitions.
Format the flash drive to FAT-32
Delete all but a single primary partition
Options to format:
Windows Disk Management Utility Format the flash to FAT-32 - Delete all but a single primary partition
Windows DiskPart.exe
Various third party tools available to remove and format partitions
DELL-Erman O
Moderator
•
2984 Posts
•
14874 Points
926
0
Posted January 11th, 2022 07:00
Hi,
Normally this asterisk "*" belongs to the not active image and it indicates that the image will be run on the next reboot. I haven't been able to find a way to change that from here at the moment. But can you try to restore your backup from here? https://dell.to/3faQcjI;
DELL-Erman O
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!