Page 36
6.1.15 Restore to Factory Defaults (RESTORE)
The
restore
command provides the ability to restore the switch to factory default settings.
Use the
restore
option from the CLI prompt to restore factory defaults. A list of options is displayed when
the
restore -h
command is entered.
> restore -h
Description:
restore - restore module defaults
Syntax:
restore [-h]
restore -s
restore -r rType [-keep]
Switches:
-h display help information
-keep restore all but IP based settings IP address, subnet, gateway
-r restore default, [rType]: {factory}
-s show current configuration
>
The options available using the
restore
command are shown below.
The
-h
switch displays the help screen presented above. It is static and provides help information for the
specific command.
The
-keep
switch maintains the current IP setting after the switch has been restored to factory defaults.
The
-r
switch restores the switch to factory defaults.
The
-s
switch displays the restore status.
To display the restore status, use the
restore -s
command.
> restore -s
Factory default file name: modelscfg.ini
Local definition file name: localdefs.ini
>
To restore the switch to factory default settings, use the
restore -r factory
command.
> restore -r factory
The switch will be rebooted and the factory default settings will be restored.