Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

restore factory-defaults

Restore factory defaults.

Syntax
restore factory-defaults stack-unit {stack—unit—number | all} {clear-all | bootvar | nvram}
Parameters
factory-defaults
Return the system to its factory default mode.
stack-unit-number
Enter the stack member unit identifier to restore only the mentioned stack-unit. The range is from 1 to 6.
all
Enter the keyword all to restore all units in the stack.
bootvar
Enter the keyword bootvar to reset boot line.
clear-all
Enter the keywords clear-all to reset the NvRAM, boot environment variables, and the system startup configuration.
nvram
Enter the keyword nvram to reset the NvRAM only.
Command Modes
EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.8(2.0)
Introduced on the S3100 series.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.5(0.1)
Added bootvar as a new parameter.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
9.0.0.0
Introduced on the Z9000.
8.3.19.0
Introduced on the S4820T.
8.3.12.0
Introduced on the S4810.
8.3.16.0
Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information

Restoring factory defaults deletes the existing startup configuration and all persistent settings (stacking, fan-out, and so forth).

When restoring all units in a stack, all the units in the stack are placed into stand-alone mode.

When restoring a single unit in a stack, that unit placed in stand-alone mode. No other units in the stack are affected.

When restoring units in stand-alone mode, the units remain in stand-alone mode after the restoration. After the restore is complete, the units power cycle immediately.

CAUTION There is no undo for this command.
Following are the factory-default environment variables:
  • baudrate
  • primary_boot
  • secondary_boot
  • default_boot
  • ipaddr
  • gatewayip
  • netmask
  • macaddr
  • mgmtautoneg
  • mgmtspeed100
  • mgmtfullduplex

Each boot path variable (primary_boot, secondary_boot, and default_boot) is further split into the following three independent variables:

  • primary_server, primary_file, and primary_type

  • secondary_server, secondary_file, and secondary_type

  • default_server, default_file, and default_type

    NOTE For information on the default values that these variables take, refer to the Restoring Factory Default Environment Variables section in the Dell EMC Networking OS Configuration guide.
Example (all stack units)
DellEMC# restore factory-defaults stack-unit all clear-all
**************************************************************
* Warning - Restoring factory defaults will delete the existing *
* startup-config and all persistent settings (stacking, fanout, etc.)*
* All the units in the stack will be split into standalone units. *
* After restoration the unit(s) will be powercycled immediately. *
* Proceed with caution ! *
**************************************************************
Proceed with factory settings? Confirm [yes/no]:yes
-- Restore status --
Unit Nvram      Config
------------------------
1    Success    Success
2    Success    Success
3    Success    Success
4    Not present
5    Not present
Power-cycling the unit(s).
DellEMC#
Example (single stack)
DellEMC# restore factory-defaults stack-unit 1 clear-all
**************************************************************
* Warning - Restoring factory defaults will delete the existing *
* startup-config and all persistent settings (stacking, fanout, etc.)*
* After restoration the unit(s) will be powercycled immediately. *
* Proceed with caution ! *
**************************************************************
Proceed with factory settings? Confirm [yes/no]:yes
-- Restore status --
Unit Nvram    Config
------------------------
1    Success  Success
Power-cycling the unit(s).
DellEMC#
Example (NvRAM all stack units)
DellEMC# restore factory-defaults stack-unit all nvram
**************************************************************
* Warning - Restoring factory defaults will delete the existing *
* persistent settings (stacking, fanout, etc.) *
* All the units in the stack will be split into standalone units. *
* After restoration the unit(s) will be powercycled immediately. *
* Proceed with caution ! *
**************************************************************
Proceed with factory settings? Confirm [yes/no]:yes
-- Restore status --
Unit Nvram      Config
------------------------
1    Success
2    Success
3    Success
4    Not present
5    Not present
Power-cycling the unit(s).
DellEMC#
Example (NvRAM, single unit)
DellEMC# restore factory-defaults stack-unit 1 nvram
**************************************************************
* Warning - Restoring factory defaults will delete the existing *
* persistent settings (stacking, fanout, etc.) *
* After restoration the unit(s) will be powercycled immediately. *
* Proceed with caution ! *
**************************************************************
Proceed with factory settings? Confirm [yes/no]:yes
-- Restore status --
Unit Nvram   Config
------------------------
1    Success
Power-cycling the unit(s).
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\