I have a problem, I have follow the commands in this link:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml#copying_startup

I'm using my notebook as snmp manager with net-snmp-5.1.2, and when I type

# ./snmpset -v 1 -c private -v 1 -c private -m
/usr/local/share/snmp/mibs/CISCO-CONFIG-COPY-MIB.my XXX.XXX.XXX.XXX
1.3.6.1.4.1.9.9.96.1.1.1.1.2.111 i 1 1.3.6.1.4.1.9.9.96.1.1.1.1.3.111 i
1 1.3.6.1.4.1.9.9.96.1.1.1.1.4.111 integer 3
1.3.6.1.4.1.9.9.96.1.1.1.1.5.111 a YYY.YYY.YYY.YYY
1.3.6.1.4.1.9.9.96.1.1.1.1.6.111 s "startup-config"
1.3.6.1.4.1.9.9.96.1.1.1.1.14.111 integer 4

my out is:

CISCO-CONFIG-COPY-MIB::ccCopyProtocol.111 = INTEGER: tftp(1)
CISCO-CONFIG-COPY-MIB::ccCopySourceFileType.111 = INTEGER: networkFile(1)
CISCO-CONFIG-COPY-MIB::ccCopyDestFileType.111 = INTEGER: startupConfig(3)
CISCO-CONFIG-COPY-MIB::ccCopyServerAddress.111 = IpAddress: YYY.YYY.YYY.YYY
CISCO-CONFIG-COPY-MIB::ccCopyFileName.111 = STRING: "startup-config"
CISCO-CONFIG-COPY-MIB::ccCopyEntryRowStatus.111 = INTEGER: createAndGo(4)

on my ruouter (Cisco 3620 with image c3620-ik2os-mz.120-4.T.bin) I see
this message:

02:25:57: SNMP: Packet received via UDP from YYY.YYY.YYY.YYY on
FastEthernet0/0
02:25:57: SNMP: Set request, reqid 441642093, errstat 0, erridx 0
 ccCopyTable.1.2.111 = 1
 ccCopyTable.1.3.111 = 1
 ccCopyTable.1.4.111 = 3
 ccCopyTable.1.5.111 = YYY.YYY.YYY.YYY
 ccCopyTable.1.6.111 = "startup-config"
 ccCopyTable.1.14.111 = 4
02:25:57: SNMP: Response, reqid 441642093, errstat 0, erridx 0
 ccCopyTable.1.2.111 = 1
 ccCopyTable.1.3.111 = 1
 ccCopyTable.1.4.111 = 3
 ccCopyTable.1.5.111 = YYY.YYY.YYY.YYY
 ccCopyTable.1.6.111 = "startup-config"
 ccCopyTable.1.14.111 = 4
02:25:57: SNMP: Packet sent via UDP to YYY.YYY.YYY.YYY
02:25:57: TFTP: Sending  read request
%SYS-3-CONFIG_NV_ERR: Nonvolatile storage write error; configuration


LAST LINE IS A PROBLEM, but I don't know why.


When I analyze the trasmission with ethereal, this is a situation:

CISCO (Agent SNMP)                      Notebook (Manager SNMP)


SNMP SET <--------------

                        SNMP response
                      --------------->

                        TFTP read request
                      --------------->

                        UDP error: couldn't parse
                        massage header: Wrong
                        type for that item
                      <---------------
                                        



Is appreciate any help,
thanks











-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to