I tried to add this option but same result
Error in packet.
Reason: noCreation (That table does not support row creation or that object can not ever be created)
Failed object: Dell-LAN-SYSMNG-MIB::dellLanFileActionCommand.1

In fact, this table doesn't seem to exist with snmpwalk
Dell-LAN-SYSMNG-MIB::dellLanFileActionTable = No Such Object available on this agent at this OID

And when I try with Dell-LAN-SYSMNG-MIB::dellLanFileActionResultCode, same response
Dell-LAN-SYSMNG-MIB::dellLanFileActionResultCode = No Such Instance currently exists at this OID

Se I tried an snmpwalk with the OID .1.3.6.1.4.1.674.10895.5000.1.2 and the result is very strange
SNMPv2-SMI::enterprises.674.10895.5000.1.2.1.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.5000.1.2.1.2.0 = ""
SNMPv2-SMI::enterprises.674.10895.5000.1.2.3.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.674.10895.5000.1.2.3.2.0 = STRING: "image2"

It seems the OID .1.3.6.1.4.1.674.10895.5000.1.2.2 doesn't exist !

Cordialement,
IOGS Logo
Ludovic Vinsonnaud - Ingénieur Réseau
basé à Bordeaux, bureau F108 (IOA, Rue François Mitterrand, 33400 Talence)

Institut Optique Graduate School
2 Avenue Augustin Fresnel - 91127 PALAISEAU Cedex
Tel. +33 5 57 01 71 52 - Mob. +33 6 08 08 41 05
Le 06/02/2019 à 14:03, Morten Brekkevold a écrit :
On Wed, 6 Feb 2019 11:55:24 +0100 Vinsonnaud Ludovic <ludovic.vinsonnaud@institutoptique.fr> wrote:

I used Cygwin with snmp tools and here the result

snmpset -v 2c -c /myCommunity //myIP
/Dell-LAN-SYSMNG-MIB::dellLanFileActionCommand.1 i 2
Dell-LAN-SYSMNG-MIB::dellLanFileActionSourceFile.1 s 'running-config'
Dell-LAN-SYSMNG-MIB::dellLanFileActionDestFile.1 s 'startup-config'

      
Error in packet.
Reason: noCreation (That table does not support row creation or that object can
not ever be created)
Failed object: Dell-LAN-SYSMNG-MIB::dellLanFileActionCommand.1
You may need to add
`Dell-LAN-SYSMNG-MIB::dellLanFileActionForceAction i 1` to the list of
OIDs to set, in order to force the overwrite of the startup-config.

However, according to the error message, you can't do what Dell's
documentation tells you that you should be able to. For good measure,
you should perhaps try to get the full contents of the existing table,
if any:

snmpwalk -v2c -c <community> <ip> Dell-LAN-SYSMNG-MIB::dellLanFileActionTable


The actual full procedure, that is prescribed by the MIB table object,
to send commands, is as quoted below:

|     "This is a conceptual table which contain only one row.  The
|      row is used to setup the parameters required to execute a
|      particular action on the file system.  Depending on the action,
|      certain number of parameters will apply and will be required
|      to be configured when the action is executed.  Once the action
|      executes, the parameters set for the action will be cleared and
|      the status of the action (error code or success code) will be
|      available for query in the dellLanFileActionResultCode field.
|
|      NOTE that since the action is immediately executed, all parameters
|      required for the action must be given in the same SNMP set request
|      in a single varbind.  The action type dellLanFileActionCommand
|      must be included in each SNMP set request otherwise an error will
|      be returned.
|
|      Some of the actions may take a long time to complete, for these
|      actions, the user should poll the dellLanFileActionResultCode
|      until a valid result is returned.  When the system is working on
|      an action this parameter will return 'statusPending'.  While the
|      status is 'statusPending' the system will not honor any new
|      file system request.  If the user tries to send a file system 
|      action request during this time, the SNMP SET to execute the
|      action will return with an SNMP error and the status will remain
|      'statusPending' until the last operation has completed.
|
|      The correct usage for this table should be:
|      - first query the 'dellLanFileActionResultCode' to see if the
|        system is free to execute a file action request.  If the 
|        query returns 'statusPending' then don't try the action yet.
|        Keep polling until the result of this parameter is something
|        other then 'statusPending'.
|      - once the system is ready, compose a single SNMP request with
|        all parameters required for a given action (see the description
|        below in the Entry definition).
|      - send an SNMP SET for this request, if the SET failed with an
|        SNMP error then something is wrong with the way the request is
|        composed.
|      - if the SNMP SET response is success, then start polling the
|        dellLanFileActionResultCode to determine the status of the
|        action."