Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
154
Mellanox Technologies Confidential
4.4 Configuration Management
4.4.1 Saving a Configuration File
To save the current configuration to the active configuration file, you can either use the
config-
uration write
command (requires running in Config mode) or the
write memory
command
(requires running in Enable mode).
To save the configuration to the active configuration file
, run:
switch (config) # configuration write
To save the configuration to a user-specified file without making the new file the active
configuration file, run:
switch (config) # configuration write to myconf no-switch
To save the configuration to a user-specified file and make the new file the active con-
figuration file, run:
switch (config) # configuration write to myconf
To display the available configuration files and the active file, run:
switch (config) # show configuration files
initial
myconf (active)
switch (config) #
4.4.2 Loading a Configuration File
By default, or after a system reset, the system loads the default “initial” configuration file.
To load a different configuration file and make it the active configuration:
4.4.3 Restoring Factory Default Configuration
In cases where the system configuration becomes corrupted it is suggested to restore the factory
default configuration.
To restore factory default configuration on a s
ingle management module system:
Step 1. Run the command
reset factory [reboot] [keep-basic] [keep-all-config]
:.
4.4.4 Managing Configuration Files
There are two types of configuration files that can be applied on the switch, BIN files (binary)
and text-based configuration files.
switch [standalone: master] >
switch [standalone: master] > enable
switch [standalone: master] # configure terminal
switch [standalone: master] (config) # configuration switch-to myconfig
switch [standalone: master] (config) #
switch (config) # reset factory keep-basic