![Mellanox Technologies sRB-20210G User Manual Download Page 179](http://html1.mh-extra.com/html/mellanox-technologies/srb-20210g/srb-20210g_user-manual_1768365179.webp)
10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
179
Mellanox Technologies
copy flash: running-config
Description:
Restores the backup configuration. This command retrieves the
repository configuration from a file stored in the Flash, restores it and
saves it in the Switch repository (database). The new values will be
applied on reboot.
Syntax:
copy flash: [file-name] running-config
Example:
This example shows how you restoring from the local disk a repository by the name JonhnDoe
by copying it to a backup file and then using it for restoring the configuration.
sRB-20210G-61f0(config-remote)# copy flash: JohnDoe running-config
New Configuration will take place after Reboot
copy remote: running-config
Description:
Downloads the configuration from the remote server using the
previously defined server name, user name, and password.
The remote path must contain the exported file name. The new values
will be applied on reboot.
Syntax:
copy remote: [file-name] running-config
Example:
sRB-20210G-61f0(config-remote)# copy remote:
/home/avia/repository_sRB-10G_15_34_2008-01-23_IP_172.30.106.18.n
ew running-config
New Configuration will take place after Reboot
copy running-config flash:
Description:
Backs up the configuration into a file in the local repository. Where the
name parameter is empty, the file name is set by default. Example of
default format:
repository_sRB-20210G-70b0_6_47_2008-01-21_IP_172.30.106.
32.new
)
You can back up to two files. Backing up additional files will prompt a
message that you are over the limit.
Syntax:
copy running-config flash: [file-name]
Example 1:
In this case, we are running this command without specifying the backup file name. The
system will be created using a default backup file name with the following format:
repository_sRB-20210G-70b0_6_47_2008-01-21_IP_172.30.106.32.new
.
sRB-20210G-61f0(config-remote)# copy running-config flash:
Successed to create the file:
repository_
sRB-20210G-70b0
_6_47_2008-01-21_IP_172.30.106.32.new.