Copy a Binary File to the Startup-Configuration
To copy a binary file from the server to the startup-configuration on the Dell Networking system via FTP,
use the following command.
• Copy a binary file from the server to the startup-configuration on the Dell 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
Example of Copying a Binary File From the Server to the Startup-Configuration via FTP
> 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 Networking provides more MIB objects to view copy statistics, as shown in the following table.
Table 63. 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
6 = timeout
Specifies the reason the
copy request failed.
Simple Network Management Protocol (SNMP)
857