09-11-2005 10:20 PM
I use following:
snmpset -v 1 -c private <device name> ccCopyProtocol.<random number> integer 1
ccCopySourceFileType.<Random number> integer 1
ccCopyDestFileType.<Random number> integer 3
ccCopyServerAddress.<Random number> ipaddress "<server ip address>"
ccCopyFileName. <Random number> octetstring "<file name>"
ccCopyEntryRowStatus.<Random number> integer 4
and I Check the copy status to verify if the copy is successful:
snmpwalk <device name> ccCopyState
I repeated many time and I never get response of successful, I just got "2:running". It seems like that I fall into loop. I can't get successful or failed.
Any comments are appreciated.
thanks!
09-12-2005 03:54 AM
Is there any tftp traffic at all between the MSFC and the server?
09-12-2005 04:14 PM
No,there is nothing.
09-12-2005 05:02 PM
I just looked at your commands. You entered a value of 1 for ccCopySourceFileType, which is networkFile
And your ccCopyDestFileType is set to 3, which is startupConfig
So, if you do this, you are in effect trying to send the file from your tftp server to the startup config of the msfc. Is this what you are trying to do?
09-12-2005 07:21 PM
Sorry,I make a mistake when I wrote this post.
In my code, ccCopySourceFileType is 4 and ccCopyDestFileType is 1.
So I am trying to do copy running config to my tftp server.
thanks!
09-13-2005 04:08 AM
Ok, try setting each mib object seperately and see if it makes any difference.
You will have to CrateAndWait the row, then set it to Active
09-13-2005 04:43 AM
nhabib,
thanks!
I will try to test it tomorrow.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide