Removing an Existing OS from a Switch
This section provides information on how to uninstall the OS from a switch.
Reverting from DMF (Switch Light OS) to EOS - 7050X3 and 7260CX3
Procedure
To revert from SWLOS to EOS, complete the following steps:
- Connect to the switch via a serial connection and confirm that a SWLOS is installed. The serial console output of the switch should approximate the following example.
Connected to 10.240.130.2. Escape character is '^]'. Switch Light OS SWL-OS-DMF-8.2.0(0), 2022-03-25.05:22-fdf3fa6 Site1-F1 login:
- Log in to the switch via a serial connection and reboot the switch.
- Enter Aboot by interrupting the boot process by pressing Control-C.
Watchdog enabled, will fire in 2 mins CBFS: 'Master Header Locator' located CBFS at [200:ffffc0) CBFS: Locating 'normal/romstage' CBFS: Found @ offset 5b3d40 size 7b7c Aboot 9.0.3-4core-14223577 Press Control-C now to enter Aboot shell ^CWelcome to Aboot. Aboot#
- Once in Aboot, change the directory to
/mnt/flash
.Press Control-C now to enter Aboot shell ^CWelcome to Aboot. Aboot# Aboot# cd /mnt/flash Aboot# pwd /mnt/flash Aboot#
- List the files under the
/mnt/flash
directory and check theboot-config
file for current swi.Aboot# pwd /mnt/flash Aboot# ls AsuFastPktTransmit.log SsuRestoreLegacy.log lost+found EOS-4.23.3M.swi aboot-chainloader.swi onl Fossil boot-config persist SWL-INSTALLER.swi debug schedule SsuRestore.log fastpkttx.backup startup-config Aboot# Aboot# cat boot-config SWI=flash:aboot-chainloader.swi Aboot#
- Edit the
boot-config
file to point to the existing EOS swi under the/mnt/flash
directory.Aboot# vi boot-config Aboot# SWI=flash:aboot-chainloader.swi ~ SWI=flash:/EOS-4.23.3M.swi ~ Aboot# cat boot-config SWI=flash:/EOS-4.23.0F.swi
- Reboot the switch. The switch should boot up with the EOS image.
Aboot# reboot Requesting system reboot Press Control-C now to enter Aboot shell Booting flash:/EOS-4.23.0F.swi [ 13.231125] Starting new kernel starting version 219 Failed to apply ACL on /dev/kvm: Operation not supported Welcome to Arista Networks EOS 4.23.0F
Reverting from DMF (EOS) to EOS - 7280R
Procedure
To revert from DMF (EOS) to UCN EOS, complete the following steps:- Log in to the switch via a serial connection and reboot the switch.
Connected to 10.240.130.2. Escape character is '^]'. SAND-3 login: admin Output to this terminal is being recorded for diagnostic purposes. Note that only output that is visible on the console is recorded. SAND-3>en SAND-3#reload ! Signing certificate used to sign SWI is not signed by root certificate. Proceed with reload? [confirm]
- Enter Aboot and interrupt the boot process by pressing Control-C.
agesawrapper_amdinitearly() returned AGESA_SUCCESS Watchdog enabled, will fire in 2 mins CBFS: 'Master Header Locator' located CBFS at [200:ffffc0) CBFS: Locating 'normal/romstage' CBFS: Found @ offset 5b3d40 size 7b7c Aboot 9.0.3-4core-14223577 Press Control-C now to enter Aboot shell ^CWelcome to Aboot. Aboot#
- Once in Aboot, change the directory to
/mnt/flash
.Press Control-C now to enter Aboot shell ^CWelcome to Aboot. Aboot# Aboot# cd /mnt/flash Aboot# pwd /mnt/flash Aboot#
- List the files under the
/mnt/flash
directory and check theboot-config
file for current swi.Aboot# pwd /mnt/flash Aboot# ls AsuFastPktTransmit.log EOS-4.25.2F.swi EOS-4.27.2F-26021868.uppsaladmfrel-x86_64.swi EOS-4.27.2F-26021868.uppsaladmfrel-x86_64.swi.tmp Fossil SsuRestore.log SsuRestoreLegacy.log boot-config debug fastpkttx.backup x86_64 lost+found persist schedule startup-config zerotouch-config ztn-boot-info Aboot# Aboot# cat boot-config SWI=flash:/EOS-4.27.2F-26021868.uppsaladmfrel-x86_64.swi Aboot#
- Remove the
startup-config
file and edit theboot-config
file to point to the existing EOS swi under the/mnt/flash
directory.Aboot# rm -rf startup-config Aboot# vi boot-config Aboot# SWI=flash:aboot-chainloader.swi ~ SWI=flash:/EOS-4.25.2F.swi ~ Aboot# cat boot-config SWI=flash:/EOS-4.25.2F.swi
- Reboot the switch. The switch should boot up with the EOS image.
Aboot# reboot Requesting system reboot Press Control-C now to enter Aboot shell Booting flash:/EOS-4.25.2F.swi [ 13.231125] Starting new kernel starting version 219 Failed to apply ACL on /dev/kvm: Operation not supported Welcome to Arista Networks EOS 4.25.2F