Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
128
2.8 User management and AAA
2.8.1 User accounts
reset factory
reset factory [keep-all-config | keep-basic | only-config] [halt]
Clears the system and resets it entirely to its factory state.
Syntax Description keep-all-cofig Preserves everything in the running configuration file.
The user will be prompted for confirmation before hon-
oring this command, unless confirmation is disabled
with the command: “no cli default prompt confirm-
reset”.
keep-basic Preserves licenses in the running configuration file.
only-config Resets only configuration.
halt The system is halted after this process completes.
Default N/A
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # reset factory
Type 'YES' to confirm reset: YES
Resetting and rebooting the system -- please wait...
...
Related Commands reload
Note
username
username <username> [capability <cap> | disable [login | password] | full-name
<name> | nopassword | password [0 | 7] <password>]
no username <username> [capability | disable [login | password] | full-name]
Creates a user and sets its capabilities, password and name.
The no form of the command deletes the user configuration.