Dell OS10 Factory Reset: Backup, Delete Files and Reload - 夜莺博客

Dell OS10 Factory Reset: Backup, Delete Files and Reload

Unlike Dell OS9, which offers the one-shot restore factory-defaults command, Dell PowerSwitch OS10 has no equivalent - resetting the switch to factory defaults is done manually from the Linux kernel by removing the startup configuration and the Redis database files. This guide explains the exact procedure documented in the Dell knowledge base, what to back up first (including VLT settings), and how to verify the switch came back clean.

Before You Start: Back Up the Configuration

The reset wipes SSH and Telnet access because every configured user is deleted, so plan to work from the local console. Before wiping anything, save the current state:

OS10# show running-configuration
OS10# show running-configuration vlt
OS10# show vlan

Pay attention to VLT domain settings (backup destination, discovery interfaces, vlt-port-channel members), VLAN configurations, spanning-tree parameters and any LAG definitions - these are the settings you will have to rebuild after the reset.

Entering the Linux Shell and Deleting the Files

From the console, drop to the Linux prompt (the Dell KB shows the OS10 bash shell as root@Core01:~#) and remove the two files that hold the entire configuration:

root@Core01:~# rm -rf /config/etc/opt/dell/os10/db_init/startup.xml
root@Core01:~# rm -vf /config/var/lib/redis/dump.rdb

The startup.xml file is the startup configuration used on boot, and dump.rdb is the Redis database where OS10 stores the running configuration. Double-check both files are gone with ls before rebooting.

Reboot and Verify the Factory State

root@Core01:~# reboot

After the switch reloads, log in as the default admin user and confirm the configuration was cleared:

OS10# show running-configuration vlt
OS10# show interface port-channel summary
OS10# show vlan

A successful reset shows no VLT domain, no port-channel interfaces, and only the default VLAN 1 active on all physical ports.

Alternative Quick Reset via the CLI

When you only need to wipe the saved configuration (not the full Linux-level reset), the OS10 CLI offers a faster path documented in the Dell deployment guides:

OS10# delete startup-configuration
Proceed to delete startup-configuration [yes/no(default)]: yes
OS10# reload

Answer no when asked to save the system configuration, and the switch reboots with factory default settings.

Related Reading on This Site

For the password-recovery flavour of this procedure see Dell OS10 factory reset via the Linux kernel, and for rebuilding high-availability features afterwards check the Dell OS10 VLT step-by-step guide.

原文链接:https://dell.com/support/kbdoc/en-au/000212446/how-to-reset-dell-os10-switch-back-to-factory-default