6509E[12.2(33)SXH] doesn't support CISCO-CONFIG-COPY-MIB ??

Unanswered Question
May 1st, 2010
User Badges:

I wish to use SNMP to copy running-config files to and from several 6509's and a TFTP server.


When I run SNMPwalk on a 6509 using the   CISCO-CONFIG-COPY-MIB it says there is no such object.....


# snmpwalk -v2c -c <community> <device>  1.3.6.1.4.1.9.9.96
SNMPv2-SMI::enterprises.9.9.96 = No Such Object available on this agent at this OID


The MIB locator on cisco's web site indicates the Cisco-Config-Copy-MIB is supported on the 6509 at the IOS version I am running.

The 6509 has Sup720/MSFC3.


Any suggestions?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Sat, 05/01/2010 - 13:01
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

No, you won't be able to until you create a row in the ccCopyTable.  then you will be able to query the table to get things such as the copy status.  Just follow this doc to create the row which will trigger the config copy operation.  I also clarified one point in this discussion thread:


https://supportforums.cisco.com/thread/2015388?tstart=0

grnelson Sun, 05/02/2010 - 13:06
User Badges:

Finally had some success using snmpset (from Linux-Fedora 8).


snmpset -v2c -c $communityrw "$device"                             \
    $CopyEntry.$ccCopyProtocol.$random i $tftp                   \
    $CopyEntry.$ccCopySourceFileType.$random i $runningconfig    \
    $CopyEntry.$ccCopyDestFileType.$random i $networkfile        \
    $CopyEntry.$ccCopyServerAddress.$random a  "$tftpserver"      \
    $CopyEntry.$ccCopyFileName.$random s "$destfile"             \
    $CopyEntry.$ccCopyEntryRowStatus.$random i $active
+ snmpset -v2c -c .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 4 .1.3.6.1.4.1.9.9.96.1.1.1.1.4.111 i 1 .1.3.6.1.4.1.9.9.96.1.1.1.1.5.111 a 192.168.11.11 .1.3.6.1.4.1.9.9.96.1.1.1.1.6.111 s cfg/r65/gcw-r65-5dwhicfg .1.3.6.1.4.1.9.9.96.1.1.1.1.14.111 i 4
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.2.111 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.3.111 = INTEGER: 4
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.4.111 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.5.111 = IpAddress: 192.168.11.11
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.6.111 = STRING: "cfg/r65/gcw-r65-5dwhicfg"
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.14.111 = INTEGER: 4
exit
+ exit
[[email protected] r65]# snmpwalk -v2c -c rmsy 192.168.8.1 1.3.6.1.4.1.9.9.96
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.2.111 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.3.111 = INTEGER: 4
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.4.111 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.5.111 = IpAddress: 192.168.11.11
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.6.111 = STRING: "cfg/r65/gcw-r65-5dwhicfg"
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.9.111 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.10.111 = INTEGER: 4
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.11.111 = Timeticks: (1211318629) 140 days, 4:46:26.29
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.12.111 = Timeticks: (1211319276) 140 days, 4:46:32.76
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.13.111 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.14.111 = INTEGER: 1
[[email protected] r65]#



Thanks for the help. It got me going. I think I can find the rest of the way.

Actions

This Discussion