Stanislav,
1) Download the MIB files
https://supportforums.cisco.com/docs/DOC-12105
2) Compile the MIB files on MIB browser e.g. MG-SOFT, SilverCreek. Make sure there is no compilation errors.
3) Configure SNMPv2 or SNMPv3 accordingly on SPS switch
4) Look for rlcopy.mib file.
The OID of rlcopy is 1.3.6.1.4(private).1(enterprise).3955(enterprisesx3955).89(rnd).87(rlCopy).
Using rlCopyTable(2), create an new entry on this particular table.
a. rlCopyRowStatus: 4 (createAndgo)
b. rlCopySourceLocation: 1 (local)
c. rlCopySourceIpAddress: 0.0.0.0
d. rlCopySourceUnitNumber: 1
e. rlCopySourceFileName: (blank)
f. rlCopySourceFileType: 2 (running config)
g. rlCopyDestinationLocation: 1 (local)
h. rlCopyDestinationIpAddress: 0.0.0.0
i. rlCopyDestinationUnitNumber: 1
j. rlCopyDestinationFileName: (blank)
l. rlCopyDestinationFileType: 3 (startup config)
By doing that, you should able to copy running config to startup config. Your configurations will not be lost between reboots.
Thanks,
Ivor