CX11x, CX31x, CX710 (Earlier Than V6.03) , and CX91x Series Switch Modules V100R001C10 Command Reference 17

This document provides the configuration commands of each feature supported by the CX11x&CX31x&CX91x series switches module, including the syntax, view, default level, description, parameters, usage guideline, related commands, and example of each command.

This document provides the configuration commands of each feature supported by the CX11x&CX31x&CX91x series switches module, including the syntax, view, default level, description, parameters, usage guideline, related commands, and example of each command.

configuration file auto-save backup-to-server

configuration file auto-save backup-to-server

Function

The configuration file auto-save backup-to-server command specifies the server where the system periodically saves the configuration file.

The undo configuration file auto-save backup-to-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.

Format

configuration file auto-save backup-to-server server server-ip [ vpn-instance vpn-instance-name ] transport-type { { ftp | sftp } user user-name password password | tftp } [ path folder ]

undo configuration file auto-save backup-to-server server [ server-ip ]

Parameters

Parameter Description Value
server server-ip Specifies the IP address of the server where the system periodically saves the configuration file. -
vpn-instance vpn-instance-name

Specifies the name of the VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
transport-type Specifies the mode in which the configuration file is transmitted to the server. The value can be ftp, sftp, or tftp. To ensure file transfer security, use the SFTP method.
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 255 or 32 to 392 case-sensitive characters without spaces.
  • When the community name is a string of 1 to 255 characters, the string is processed as plain text by default.
  • When the community name is a string of 32 to 392 characters, the string is processed as cipher text by default.
path folder Specifies the relative save path on the server. The value is a string of 1 to 64 case-sensitive characters without spaces.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Run this command to periodically save the configuration file to the server.

Precautions

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.

Example

# Specify the server to which the system periodically sends the configuration file, and set the transmission mode to SFTP.

<HUAWEI> system-view
[~HUAWEI] configuration file auto-save backup-to-server server 1.1.1.1 transport-type sftp user admin1234 password Helloworld@6789
Translation
Favorite
Download
Update Date:2025-07-01
Document ID:EDOC1000041693
Views:5022248
Downloads:2011
Average rating:4.0Points

Digital Signature File

digtal sigature tool