SBC factory reset from ssh or console
To do a factory reset from ssh session or console port, you can follow these steps.
Please remember: These commands have to be run under the root user.
Following these steps will save your license and network setting:
Â
To ensure you have this file    sng-factory-reset-image.tgz,run the following command in ssh session or console:
 ls /usr/local/nsc/archive/sng-factory-reset-image.tgzÂ
ÂThen run this command, it will change system to factory setting and will keep your license:
/bin/tar -xpsvzf /usr/local/nsc/archive/sng-factory-reset-image.tgz -C / --exclude='usr/local/nsc/conf/license'
ÂTo restore network information, run this command Â
/usr/local/nsc/hooks/network.restore.post --mode=update
Type inÂ
rebootÂ
Â