Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

writemem by snmp

Hi,

How can i achieve a WriteMem or Copy Run Start by SNMP for IOS verion 12.0 and newer (ie without using OLD-CISCO-FLASH-MIB but another mib supported ) ?

Thx a lot

1 REPLY
Red

Re: writemem by snmp

You may use the CISCO-CONFIG-COPY-MIB

The following assumes that the ip address of the device is 10.10.10.10 and the SNMP read-write string is private:

snmpset -v 1 -c private 10.10.10.10 .1.3.6.1.4.1.9.9.96.1.1.1.1.14.333 i 5

snmpset -v 1 -c private 10.10.10.10 .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4

snmpset -v 1 -c private 10.10.10.10 .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 3

snmpset -v 1 -c private 10.10.10.10 .1.3.6.1.4.1.9.9.96.1.1.1.1.14.333 i 1

If you have the MIBs loaded properly, the commands would be:

snmpset -v 1 -c private 10.10.10.10 ccCopyEntryRowStatus.333 i 5

snmpset -v 1 -c private 10.10.10.10 ccCopySourceFileType.333 i 4

snmpset -v 1 -c private 10.10.10.10 ccCopyDestFileType.333 i 3

snmpset -v 1 -c private 10.10.10.10 ccCopyEntryRowStatus.333 i 1

162
Views
0
Helpful
1
Replies
CreatePlease login to create content