Reference Guide
782 | Simple Network Management Protocol (SNMP)
www.dell.com | support.dell.com
Table 44-4 shows examples of using the command snmpset to copy a configuration. These examples
assume that:
• the server OS is Unix
• you are using SNMP version 2c
• the community name is public, and
• the file f10-copy-config.mib is in the current directory or in the snmpset tool path.
Note: You can use the entire OID rather than the object name. Use the form: OID.index i object-value,
as shown in Figure 44-6.
Message 2 snmpset Index Value Error
Error in packet.
Reason: notWritable (that object does not support modification)
Failed object: FORCE10-COPY-CONFIG-MIB::copySrcFileType.101
Note: In Unix, enter the command snmpset for help using this command. Place the file
f10-copy-config.mib the directory from which you are executing the snmpset command or in the snmpset
tool path.
Table 44-4. Copying Configuration Files via SNMP
Task
Copy the running-config to the startup-config using the following command from the Unix machine:
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address copySrcFileType.index i 2
copyDestFileType.index i 3
Figure 44-6 show the command syntax using MIB object names, and Figure 44-7 shows the same command using the
object OIDs. In both cases, the object is followed by a unique index number.
Figure 44-6. Copying Configuration Files via SNMP using Object-Name Syntax
Figure 44-7. Copying Configuration Files via SNMP using OID Syntax
Step Task Command Syntax Command Mode
> snmpset -v 2c -r 0 -t 60 -c public -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.101 i
2 copyDestFileType.101 i 3
FORCE10-COPY-CONFIG-MIB::copySrcFileType.101 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.101 = INTEGER: startupConfig(3)
> snmpset -v 2c -c public -m ./f10-copy-config.mib 10.10.10.10
.1.3.6.1.4.1.6027.3.5.1.1.1.1.2.100 i 2 .1.3.6.1.4.1.6027.3.5.1.1.1.1.5.100 i 3
FORCE10-COPY-CONFIG-MIB::copySrcFileType.100 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.100 = INTEGER: startupConfig(3)










