The set save-configuration backup-to-server server command specifies the server where the system periodically saves the configuration file.
The undo set save-configuration backup-to-server server command cancels the server where the system periodically saves the configuration file.
By default, the system does not periodically save configurations to the server.
set save-configuration backup-to-server server server-ip [ transport-type { ftp | sftp } ] path path user user-name password password
set save-configuration backup-to-server server server-ip user user-name password password [ path path ]
undo set save-configuration backup-to-server server [ server-ip ]
Parameter | Description | Value |
---|---|---|
server server-ip | Specifies the IP address of the server where the system periodically saves the configuration file. | - |
transport-type | Specifies the mode in which the configuration file is transmitted to the server. | The value can be ftp or sftp. |
user user-name | Specifies the name of the user who saves the configuration file on the server. | The value is a string of 1 to 64 case-sensitive characters without spaces. |
password password | Specifies the password of the user who saves the configuration file on the server. | The value is a string of 1 to 16 or 32 case-sensitive characters without spaces. |
path path | Specifies the relative save path on the server. | The value is a string of 1 to 64 case-sensitive characters without spaces. |
Usage Scenario
Run this command to periodically save the configuration file to the server.
Precautions
If the mode in which the configuration file is transmitted to the server is not specified, FTP is used.
If the specified path on the server does not exist, configuration files cannot be sent to the server. The system then sends an alarm message indicating the transmission failure to the NMS, and the transmission failure is recorded as a log message on the device.
The user name and password must be the same as those used in FTP or SFTP login mode.