Sys-reset Script
From NetworkCommands
A command available on F5 BigIP platforms; used to restore a device to it's factory default configuration. Be aware that it's probably safer to simply perform a fresh installation of software on the partition in question.
Contents |
Usage Syntax
sys-reset [-s | -p | -u]
- -s - Do not remove files from the /shared partition (log files etc.)
- -p - Ignore any hotfix patches applied to the system
- -u - Ignore unrecoverable file errors
Usage Examples
init 1 - you must run this command first to enter runlevel 1 - single user mode. Do not use the standard method (using the GRUB menu) to enter single user mode as this may render the system inoperable after this script is run
sys-reset
reboot - you must reboot the system to complete the default configuration restore
Usage Notes
This command must be run from the console.
Always backup the system license file: /config/bigip.license
This command will only reset the configuration for the current active system partition.
If a non-local authentication system has been configured, re-configure the system for local authentication before running this script. If you can't or wont, see below;
The script may fail if a non-local user authorisation system has been configured. If this is the case, remove the relevant configuration file. For Radius, the file is; /config/bigip/auth/pam.d/radius/system-auth.conf
Typical Output
init 1;
INIT: Sending processes the TERM signal ..... ...................... INIT: Sending processes the KILL signal sh-3.00#
sys-reset;
sh-3.00# sys-reset
WARNING: This utility will return this system to an unconfigured state.
!!All configuration will be lost!!
It is highly recommended that you back up this system
configuration to another file-store.
Are you sure you want to continue?
(you must type 'yes' to continue)yes
Checking system integrity...
--- System integrity check complete; no errors found.
Checking for hotfixes...
I've omitted the rest as the output is considerable (the full output is here,) the last two lines read;
**** System reset complete. **** You must reboot before system will be operational.
Related Commands
The bigpipe config command can be used to create a backup of the current LTM configuration.
The bigpipe base command can be used to create a backup of the current base configuration (management interface etc.)
The bigpipe export command can be used to create a combined flat text file of the base and LTM configuration.
The snapshot command could be used to create a backup of the entire system image.
Availability
F5 claim from v9.4.0 but the script exists on v9.3.0 systems.
Related Articles
For v9.0 to 9.3.x systems the bigpipe reset and bigpipe save commands are used to remove a device's high level configuration. The bigpipe base reset and bigpipe base save commands are used to remove a device's base, low level configuration







