Re: code to tftp download cisco configs.
Ajay Chenampara <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
ah that makes sense...but still no luck router debug when using the snmpset : Jun 26 16:47:07.892: SNMP: Packet received via UDP from <unix host IP>on FastEthernet0/0 Jun 26 16:47:07.892: Incoming SNMP packet Jun 26 16:47:07.892: v3 packet security model: v3 security level: noauth Jun 26 16:47:07.892: username: Jun 26 16:47:07.892: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:47:07.892: snmpEngineBoots: 0 snmpEngineTime: 0 Jun 26 16:47:07.892: SNMP: Report, reqid 217343878, errstat 0, erridx 0 internet.6.3.15.1.1.4.0 = 262 Jun 26 16:47:07.896: SNMP: Packet sent via UDP to <unix host IP> Jun 26 16:47:07.900: SNMP: Packet received via UDP from <unix host IP>on FastEthernet0/0 Jun 26 16:47:07.900: SNMP: Set request, reqid 217343879, errstat 0, erridx 0 ccCopyTable.1.14.1000 = 6 Jun 26 16:47:07.908: Incoming SNMP packet Jun 26 16:47:07.908: v3 packet security model: v3 security level: auth Jun 26 16:47:07.908: username: <userid> Jun 26 16:47:07.908: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:47:07.908: snmpEngineBoots: 4 snmpEngineTime: 1046629 Jun 26 16:47:07.908: SNMP: Response, reqid 217343879, errstat 0, erridx 0 ccCopyTable.1.14.1000 = 6 Jun 26 16:47:07.912: SNMP: Packet sent via UDP to <unix host IP> router debug through the perl script : Jun 26 16:49:49.506: SNMP: Packet received via UDP from <unix host IP> on FastEthernet0/0 Jun 26 16:49:49.506: Incoming SNMP packet Jun 26 16:49:49.506: v3 packet security model: v3 security level: noauth Jun 26 16:49:49.506: username: Jun 26 16:49:49.506: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:49:49.506: snmpEngineBoots: 0 snmpEngineTime: 0 Jun 26 16:49:49.506: SNMP: Report, reqid 1631554622, errstat 0, erridx 0 internet.6.3.15.1.1.4.0 = 263 Jun 26 16:49:49.510: SNMP: Packet sent via UDP to <unix host IP> Jun 26 16:49:49.514: SNMP: Packet received via UDP from <unix host IP> on FastEthernet0/0 Jun 26 16:49:49.514: SNMP: Get request, reqid 1631554623, errstat 0, erridx 0 ccCopyTable.1.14.3221213416 = NULL TYPE/VALUE Jun 26 16:49:49.522: Incoming SNMP packet Jun 26 16:49:49.522: v3 packet security model: v3 security level: auth Jun 26 16:49:49.522: username: userid Jun 26 16:49:49.522: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:49:49.522: snmpEngineBoots: 4 snmpEngineTime: 1046790 Jun 26 16:49:49.522: SNMP: Response, reqid 1631554623, errstat 0, erridx 0 ccCopyTable.1.14.3221213416 = NO_SUCH_INSTANCE_EXCEPTION Jun 26 16:49:49.530: SNMP: Packet sent via UDP to <unix host IP> Jun 26 16:49:49.682: SNMP: Packet received via UDP from <unix host IP> on FastEthernet0/0 Jun 26 16:49:49.682: Incoming SNMP packet Jun 26 16:49:49.682: v3 packet security model: v3 security level: noauth Jun 26 16:49:49.682: username: Jun 26 16:49:49.682: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:49:49.686: snmpEngineBoots: 0 snmpEngineTime: 0 Jun 26 16:49:49.686: SNMP: Report, reqid 1631554624, errstat 0, erridx 0 internet.6.3.15.1.1.4.0 = 264 Jun 26 16:49:49.690: SNMP: Packet sent via UDP to <unix host IP> Jun 26 16:49:49.690: SNMP: Packet received via UDP from <unix host IP> on FastEthernet0/0 Jun 26 16:49:49.694: SNMP: Set request, reqid 1631554625, errstat 0, erridx 0 ccCopyTable.1.14.3221214536.1000 = 6 Jun 26 16:49:49.698: Incoming SNMP packet Jun 26 16:49:49.698: v3 packet security model: v3 security level: auth Jun 26 16:49:49.698: username: userid Jun 26 16:49:49.698: snmpEngineID: 800000090300001759DF1AB0 Jun 26 16:49:49.698: snmpEngineBoots: 4 snmpEngineTime: 1046790 Jun 26 16:49:49.698: SNMP: Response, reqid 1631554625, errstat 11, erridx 1 ccCopyTable.1.14.3221214536.1000 = 6 Jun 26 16:49:49.706: SNMP: Packet sent via UDP to <unix host IP> Dave Shield <[email protected]> wrote: On 26/06/07, Ajay Chenampara wrote: > I am assuming you meant me to set the $OID as 1.3.6.1.4.1.9.9.96.1.1.1.1.14 > (without the random index number). That's correct. The second parameter to the SNMP::Varbind call is the index value. So the first two parameters are combined to form the full OID. > I got the same error > [noCreation (that table does not support row creation)] What does the router debug output look like? What does the same debug output look like when you issue the equivalent "snmpset" command? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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 --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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