Posted on August 22, 2016 10:09 pm
 |  Asked by Wasfi Bounni
 |  3033 views
0
0
Print Friendly, PDF & Email

Hi;

When a fullrecover is done on the switches, they default back to EOS4.11.4. My question is where is this EOS image file stored?

Kindly

Wasfi

0
Posted by Chris Kane
Answered on August 22, 2016 10:23 pm

Wasfi,

When you state ’fullrecover’ are you referring to interrupting the boot sequence and typing ’fullrecover’ at the Aboot prompt? Because if that is the case then the switch erases everything that resides in /mnt/flash, creates a new boot-config file, startup-config and the EOS.swi back into /mnt/flash. This info is listed in the Configuration Guide in Chapter 2 ’Initial Configuration and Recovery’ of the current Configuration Guide (4.17.0F).

-chris

Marked as spam

Thank you Chris

(Wasfi Bounni at August 23, 2016 1:02 pm)
1
Posted by Nilay Parikh
Answered on August 23, 2016 12:39 am

The fullrecover command erases everything in flash and boots the device from the factory default image. This boot image is located as a hidden file (.boot-image.swi) in flash.
switch#bash

[admin@switch ~]$ cd /mnt/flash

[admin@switch flash]$ ls -lta | grep boot
-r-xr-x— 1 root eosadmin 519019761 Jul 27 22:26 .boot-image.swi
-rwxrwx— 1 root eosadmin 19 Jul 26 21:33 boot-config
-rwxrwx— 1 root eosadmin 0 Jun 3 17:00 boot-extensions

.boot-image.swi is the image in question and can be used to recover the device to factory default version, if and when needed.

Additionally, this ”recover” filesystem is read-only to ensure the device always has a known working image to boot up with. There is no way of changing or updating this factory image.

Thank you Nilay

(Wasfi Bounni at August 23, 2016 1:02 pm)
0
Posted by Lokesh Charora
Answered on August 23, 2016 1:23 am

This might help:

https://eos.arista.com/forum/aboot-and-fullrecover-command/

Thank you Lokesh.

(Wasfi Bounni at August 23, 2016 1:01 pm)

Post your Answer

You must be logged in to post an answer.