Got it

Is it possible to auto-back up the configuration file to the FTP sever on a Huawei switch? [Q&A]

Latest reply: Aug 9, 2018 13:11:53 3234 2 0 0

Hi there, everybody!


This post answers the question 'Is it possible to auto-backup the configuration file to the FTP sever on a Huawei switch?' Please see below for more details.


BACKGROUND


Huawei switches have the below command to auto-back up the configuration file. The command is the following:


<HUAWEI> system-view


[*HUAWEI] configuration file auto-save///enable configuration file auto-save function.


[*HUAWEI] configuration file auto-save backup-to-server server 10.1.1.1 transport-type sftp user admin1234 password Helloworld@6789  ///enable backup function.


This command is just an example. You may change it according your situation.


FURTHER ANALYSIS


Here you raised a new question 'Regarding procedures to restore from acquired files' - does the current customer also want to restore from a specific file?

 

I think you just need to upload the configuration file to device, then set the next startup configuration.


<HUAWEI> startup saved-configuration newcfg.cfg


After this, just reboot the device.


You can refer to the below link to get more details:


http://support.huawei.com/hedex/pages/EDOC100011353031189186/06/EDOC100011353031189186/06/resources/dc/set_save-configuration_backup-to-server_server.html?ft=0&fe=10&hib=12.1.3.8.7&id=set_save-configuration_backup-to-server_server&text=configuration file auto-save backup-to-server&docid=EDOC1000113530.

 

Please pay attention to the precautions firstly before you configure this command; you must enable 'configuration file auto-save'.


PRECAUTIONS


Before using this command, run the configuration file auto-save command and enable FTP, SFTP, or TFTP on the server. Otherwise, the configuration file auto-save backup-to-server command does not take effect. The system cancels the operation of periodically saving the configuration file in the following scenarios:


  • the configuration file is being written;


  • the LPU is recovering the configuration;


  • the CPU usage is high.

 

The below link is for the command 'configuration file auto-save':


http://support.huawei.com/hedex/pages/EDOC100011353031189186/06/EDOC100011353031189186/06/resources/dc/set_save-configuration.html.

  • x
  • convention:

wissal
MVE Created Jun 3, 2018 13:54:04 Helpful(0) Helpful(0)

useful document, thanks
View more
  • x
  • convention:

I%20would%20like%20to%20share%20with%20you%20my%20experience%2C%20I'm%20telecommunications%20engineer%2C%20currently%20senior%20project%20manager%20at%20an%20operator%2C%20partner%20of%20Huawei%2C%20in%20the%20radio%20access%20network%20department%2C%20for%2020%20years%20I%20managed%20several%20types%20of%20projects%2C%20for%20the%20different%20nodes%20of%20the%20network.%3Cbr%2F%3EAt%20the%20same%20time%2C%20I%20give%20courses%20in%20universities%20as%20a%20temporary%2C%20to%20bring%20the%20operational%20side%20of%20telecommunication%20technologies%20to%20students%2C%20for%20network%20supervision%20systems%2C%20mobile%20radio%20networks%20and%20access%20networks%20et
Oerdi
Created Aug 9, 2018 13:11:53 Helpful(0) Helpful(0)

Hi

The command is not working for me...?
Version 5.170
HUAWEI S6720-30C-EI-24S-AC

I preferd to have a backup of the saved-configuration every 12h and after every save command
in .cfg format. Is there a solution for that?

Thank you
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.