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

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

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?

2 REPLIES
Cisco Employee

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

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

New Member

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

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
[root@csco1 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
[root@csco1 r65]#

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

784
Views
0
Helpful
2
Replies
CreatePlease login to create content