Reference Guide

670 | Simple Network Management Protocol
www.dell.com | support.dell.com
Dell Networking provides additional MIB Objects to view copy statistics. These are provided in Table 8.
Figure 37-11. Copying Configuration Files via SNMP and TFTP to a Remote Server
Copy a binary file from the server to the startup-configuration on the Dell Networking system via FTP using the following
command from the Unix server:
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
Figure 37-12. Copying Configuration Files via SNMP and FTP from a Remote Server
Table 37-5. 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.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.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.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.14 1 = bad file name
2 = copy in progress
3 = disk full
4 = file exists
5 = file not found
6 = timeout
7 = unknown
Specifies the reason the copy request
failed.
copyEntryRowStatus .1.3.6.1.4.1.6027.3.5.1.1.1.15 Row status Specifies the state of the copy operation.
Uses CreateAndGo when you are
performing the copy. The state is set to
active when the copy is completed.
Table 37-4. Copying Configuration Files via SNMP
Task
.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
> 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