The following example shows copying configuration files using MIB object names.> snmpset -v 2c -r 0 -t 60 -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.101i 2 copyDestFileType.101 i 3FTOS-COPY-CONFIG-MIB::copySrcFileType.101 = INTEGER: runningConfig(2)FTOS-COPY-CONFIG-MIB::copyDestFileType.101 = INTEGER: startupConfig(3)The following example shows copying configuration files using OIDs.> 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 3FTOS-COPY-CONFIG-MIB::copySrcFileType.100 = INTEGER: runningConfig(2)FTOS-COPY-CONFIG-MIB::copyDestFileType.100 = INTEGER: startupConfig(3)Copying the Startup-Config Files to the Running-ConfigTo copy the startup-config to the running-config from a UNIX machine, use the following command.• Copy the startup-config to the running-config from a UNIX machine.snmpset -c private -v 2c force10system-ip-address copySrcFileType.index i 3copyDestFileType.index i 2Examples of Copying Configuration Files from a UNIX MachineThe following example shows how to copy configuration files from a UNIX machine using the object name.> snmpset -c public -v 2c -m ./f10-copy-config.mib 10.11.131.162 copySrcFileType.7 i 3copyDestFileType.7 i 2FTOS-COPY-CONFIG-MIB::copySrcFileType.7 = INTEGER: runningConfig(3)FTOS-COPY-CONFIG-MIB::copyDestFileType.7 = INTEGER: startupConfig(2)The following example shows how to copy configuration files from a UNIX machine using OID.>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 2SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.2.8 = INTEGER: 3SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.5.8 = INTEGER: 2Copying the Startup-Config Files to the Server via FTPTo copy the startup-config to the server via FTP from the UNIX machine, use the following command.Copy the startup-config to the server via FTP from the UNIX machine.snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-addresscopySrcFileType.index i 2 copyDestFileName.index s filepath/filenamecopyDestFileLocation.index i 4 copyServerAddress.index a server-ip-addresscopyUserName.index s server-login-id copyUserPassword.index s server-login-password• precede server-ip-address by the keyword a.• precede the values for copyUsername and copyUserPassword by the keyword s.Example of Copying Configuration Files via FTP From a UNIX Machine> snmpset -v 2c -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.110 i 2copyDestFileName.110 s /home/startup-config copyDestFileLocation.110 i 4 copyServerAddress.110a 11.11.11.11 copyUserName.110 s mylogin copyUserPassword.110 s mypassFTOS-COPY-CONFIG-MIB::copySrcFileType.110 = INTEGER: runningConfig(2)FTOS-COPY-CONFIG-MIB::copyDestFileName.110 = STRING: /home/startup-configFTOS-COPY-CONFIG-MIB::copyDestFileLocation.110 = INTEGER: ftp(4)FTOS-COPY-CONFIG-MIB::copyServerAddress.110 = IpAddress: 11.11.11.11FTOS-COPY-CONFIG-MIB::copyUserName.110 = STRING: myloginFTOS-COPY-CONFIG-MIB::copyUserPassword.110 = STRING: mypassSimple Network Management Protocol (SNMP) 699