Skip to content

Commit 30eb3b6

Browse files
authored
Added factory reset section (#149)
1 parent a9ff506 commit 30eb3b6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: docs/cli/show-commands/chassis-and-env.md

+25
Original file line numberDiff line numberDiff line change
@@ -870,3 +870,28 @@ A:srl-ixr6# info from state platform control A disk /dev/sdb
870870
/// tab | Path
871871
`/platform/control[slot=A]/disk[name=/dev/sdb]`
872872
///
873+
874+
## Factory Reset
875+
876+
Factory reset may involve changing the software version to a golden image, cleaning up configuration, logs, certificates and licenses or a subset of these.
877+
878+
A complete factory reset including all the above mentioned changes can be achieved using gNOI FactoryReset service.
879+
880+
For this section, we will focus on restoring the configuration to factory default. Use the `load factory` command in config edit mode to restore the router to factory default config.
881+
882+
Note - All user defined configuration including inband and management IPs will be wiped out. Only console access will be available after this action.
883+
884+
/// tab | CLI
885+
886+
```srl
887+
A:srlinux# enter candidate private
888+
--{ + candidate private private-admin }--[ ]--
889+
A:srlinux# load factory
890+
/system/configuration/checkpoint[id=__factory__]:
891+
Loaded factory configuration
892+
893+
--{ + candidate private private-admin }--[ ]--
894+
A:srlinux# commit stay
895+
All changes have been committed. Starting new transaction.
896+
```
897+
///

0 commit comments

Comments
 (0)