Hi all,
I am trying to write a program that will use Net-SNMP to get the running config from a router, then upload it to a TFTP server. I have consulted Cisco's website as how to do this and they have provided me with this link:
CCO ID required if you want to read it.
Basicly, this is the string that is needed to be sent to the router
snmpset -v 2c -c public 10.10.10.2 ccCopyProtocol.111 integer 1 ccCopySourceFileType.111 integer 4 ccCopyDestFileType.111 integer 1 ccCopyServerAddress.111 IpAddress "127.0.0.1" ccCopyFileName.111 DisplayString "config.txt" ccCopyEntryRowStatus.111 integer 4
However, when i send this, i get ONLY this in return:
ccCopyFileName.111: (config.txt)
I have no idea what this means and Googleing it has come up unsucessful. The MIBs that i am using is Cisco-Copy-Config-MIB.
Thanks for the support!
I am trying to write a program that will use Net-SNMP to get the running config from a router, then upload it to a TFTP server. I have consulted Cisco's website as how to do this and they have provided me with this link:
CCO ID required if you want to read it.
Basicly, this is the string that is needed to be sent to the router
snmpset -v 2c -c public 10.10.10.2 ccCopyProtocol.111 integer 1 ccCopySourceFileType.111 integer 4 ccCopyDestFileType.111 integer 1 ccCopyServerAddress.111 IpAddress "127.0.0.1" ccCopyFileName.111 DisplayString "config.txt" ccCopyEntryRowStatus.111 integer 4
However, when i send this, i get ONLY this in return:
ccCopyFileName.111: (config.txt)
I have no idea what this means and Googleing it has come up unsucessful. The MIBs that i am using is Cisco-Copy-Config-MIB.
Thanks for the support!