Simple Network Management Protocol (SNMP) | 529
Copy the startup-config to the running-config using the following command from a UNIX machine:
snmpset -c private -v 2c force10system-ip-address copySrcFileType.index i 3 copyDestFileType.index i 2
Figure 30-9.  Copying Configuration Files via SNMP using Object-Name Syntax
Figure 30-10.  Copying Configuration Files via SNMP using OID Syntax
Copy the startup-config to the server via FTP 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 
copyDestFileName.index
 s filepath/filename copyDestFileLocation.index i 4 copyServerAddress.index a 
server-ip-address copyUserName.index s server-login-id copyUserPassword.index s server-login-password
• server-ip-address must be preceded by the keyword a.
• values for copyUsername and copyUserPassword must be preceded by the keyword s.
Figure 30-11.  Copying Configuration Files via SNMP and FTP to a Remote Server
Copy the startup-config to the server using TFTP using the following command from the UNIX machine:
Note: Verify that the file exists and its permissions are set to 777. Specify the relative path to the TFTP root 
directory.
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
Table 30-4.  Copying Configuration Files via SNMP
Task
> snmpset -c public -v 2c -m ./f10-copy-config.mib 10.11.131.162 copySrcFileType.7 i 3
copyDestFileType.7 i 2
FORCE10-COPY-CONFIG-MIB::copySrcFileType.7 = INTEGER: runningConfig(3)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.7 = INTEGER: startupConfig(2)
>snmpset -c public -v 2c 10.11.131.162 .1.3.6.1.4.1.6027.3.5.1.1.1.1.2.8 i 3
.1.3.6.1.4.1.6027.3.5.1.1.1.1.5.8 i 2
SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.2.8 = INTEGER: 3
SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.5.8 = INTEGER: 2
> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.110 i 2
copyDestFileName.110 s /home/startup-config copyDestFileLocation.110 i 4 copyServerAddress.110
a 11.11.11.11 copyUserName.110 s mylogin copyUserPassword.110 s mypass
FORCE10-COPY-CONFIG-MIB::copySrcFileType.110 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileName.110 = STRING: /home/startup-config
FORCE10-COPY-CONFIG-MIB::copyDestFileLocation.110 = INTEGER: ftp(4)
FORCE10-COPY-CONFIG-MIB::copyServerAddress.110 = IpAddress: 11.11.11.11
FORCE10-COPY-CONFIG-MIB::copyUserName.110 = STRING: mylogin
FORCE10-COPY-CONFIG-MIB::copyUserPassword.110 = STRING: mypass