API Guide

Table Of Contents
Copying the Startup-Config Files to the Server via TFTP
To copy the startup-config to the server via TFTP from the UNIX machine, use the following command.
NOTE: Verify that the file exists and its permissions are set to 777. Specify the relative path to the TFTP root directory.
Copy the startup-config to the server via TFTP from the UNIX machine.
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address
copySrcFileType.index i 3 copyDestFileType.index i 1 copyDestFileName.index s filepath/
filename copyDestFileLocation.index i 3 copyServerAddress.index a server-ip-address
.snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10
copySrcFileType.4 i 3
copyDestFileType.4 i 1
copyDestFileLocation.4 i 3
copyDestFileName.4 s /home/myfilename
copyServerAddress.4 a 11.11.11.11
Copy a Binary File to the Startup-Configuration
To copy a binary file from the server to the startup-configuration on the Dell EMC Networking system via FTP, use the following
command.
Copy a binary file from the server to the startup-configuration on the Dell EMC Networking system via FTP.
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address
copySrcFileType.index i 1 copySrcFileLocation.index i 4 copySrcFileName.index s
filepath/filename copyDestFileType.index i 3 copyServerAddress.index a server-ip-address
copyUserName.index s server-login-id copyUserPassword.index s server-login-password
> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.10 i 1
copySrcFileLocation.10 i 4 copyDestFileType.10 i 3 copySrcFileName.10 s /home/myfilename
copyServerAddress.10 a 172.16.1.56 copyUserName.10 s mylogin copyUserPassword.10 s mypass
Additional MIB Objects to View Copy Statistics
Dell EMC Networking provides more MIB objects to view copy statistics, as shown in the following table.
Table 93. Additional MIB Objects for Copying Configuration Files via SNMP
MIB Object OID Values Description
copyState .1.3.6.1.4.1.6027.3.5.1.1.1.1.11
1= running
2 = successful
3 = failed
Specifies the state of the
copy operation.
copyTimeStarted .1.3.6.1.4.1.6027.3.5.1.1.1.1.12 Time value Specifies the point in the
up-time clock that the copy
operation started.
copyTimeCompleted .1.3.6.1.4.1.6027.3.5.1.1.1.1.13 Time value Specifies the point in the
up-time clock that the copy
operation completed.
copyFailCause .1.3.6.1.4.1.6027.3.5.1.1.1.1.14
1 = bad filename
2 = copy in progress
3 = disk full
4 = file exists
5 = file not found
Specifies the reason the copy
request failed.
780 Simple Network Management Protocol (SNMP)