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

Rev 2.10
Mellanox Technologies
155
Mellanox Technologies Confidential
4.4.4.1 BIN Configuration Files
BIN configuration files are not human readable and cannot be edited.
T
o create a new BIN configuration file
To upload a BIN configuration file from a switch to an external file server
To fetch a BIN configuration file
To see the available configuration files
To load a BIN configuration file:
4.4.4.2 Text Configuration Files
Text configuration files are text based and editable.
To create a new text-based configuration file:
To apply a text-based configuration file:
To upload a text-based configuration file from a switch to an external file server
To fetch a text-based configuration file from an external file server to a switch
switch (config) # configuration new my-filename
switch (config) # configuration upload my-filename scp://root@my-server/root/tmp/my-
filename
switch (config) # configuration fetch scp://root@my-server/root/tmp/my-filename
switch (config) # show configuration files
initial (active)
my-filename
Active configuration: initial
Unsaved changes: no
switch (config) #
switch (config) # configuration switch-to my-filename
Applying a new BIN configuration file changes the whole switch’s configuration and
requires system reboot which can be preformed using the command
reload
.
switch (config) # configuration text generate active running save my-filename
switch (config) # configuration text file my-filename apply
Applying a text-based configuration file to an existing/running data port configuration
may result in unpredictable behavior. It is therefore suggested to first clear the switch’s
configuration by applying a specific configuration file (following the procedure in Sec-
tion 4.4.4.1) or by resetting the switch back to factory default.
switch (config) # configuration text file my-filename upload scp://root@my-server/root/
tmp/my-filename
switch (config) # configuration text fetch scp://root@my-server/root/tmp/my-filename