cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2661
Views
0
Helpful
1
Replies

How to save config through SNMP?

stasvolkhin
Level 1
Level 1

Hi!

I have Linksys SPS224.

I've learnt how to change some parameters through SNMP. But this changes are applying to running-config, and, when switch reboots, all loose.

How can I save this changed running-config to startup-config through SNMP?

1 Reply 1

Ivor Diedricks
Cisco Employee
Cisco Employee

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