Got it

Backup configuration file to a TFTP server using SNMP

Latest reply: Mar 22, 2020 07:27:36 3082 3 1 0
Saving the configuration on devices after every change made is very important to keep the network stable if something goes wrong. One rebooting switch can cause 5-6 minutes of downtime if it loads the last up-to-date  configuration from flash and everything comes to normal. Not having the last configuration loaded on such device, after rebooting may cause serious problems even loops producing much more downtime.
Another safety measure is to keep configuration copies on a external server. If you want to replace a damaged switch you will have to redo the configuration on the new one because the file from the broken one may be lost. In this case, the configuration file can be copied from the external server
An easy way to backup configs on an server is to make a NMS to save configuration files for you.

  • x
  • convention:

Created Mar 30, 2016 14:37:36 Helpful(0) Helpful(0)

The next OID shows you how to backup configuration files from S5700 switches on a TFTP server.

snmpset -v2c -c Root@456 i 3 i 2 s current.cfg a i 4

Root@123 is the write community is the ip address of the switch
3 for copying running configuration to network
2 for using tftp
current.cfg is the destination filename is the ip address of the tftp server
4 means creating the table
.3 is a index
1. if it is not entered, there will be “Error in packet.Reason: noCreation (That table does not support row creation or that object can not ever be created.”
2. make sure the index is not used, if the index has been used there will be “Reason: inconsistentValue (The set value is illegal or unsupported in some way)”

to release  the  index 3(6 means delete)
snmpset -v2c -c Root@456 i 6

Hope that this case will be helpful for you.
View more
  • x
  • convention:

Created Jun 18, 2019 17:09:13 Helpful(0) Helpful(0)

Posted by gennady_fedonov at 2016-03-30 14:37 The next OID shows you how to backup configuration files from S5700 switches on a TFTP server. snm ...
dear using SNMP how to rollback the config file to switchBackup configuration file to a TFTP server using SNMP-2971389-1Backup configuration file to a TFTP server using SNMP-2971389-2
View more
  • x
  • convention:

Created Mar 22, 2020 07:27:36 Helpful(0) Helpful(0)

Thx , great explanation ,
In this way , or similar , can i send configuration or a set of command ?
Do I need snmp manger with proprietary mib ?
View more
  • x
  • convention:


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

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


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