cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1707
Views
0
Helpful
6
Replies

How to backup config of hybrid msfc2 ?

henrybb
Level 1
Level 1

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!

6 Replies 6

nhabib
Level 9
Level 9

Is there any tftp traffic at all between the MSFC and the server?

No,there is nothing.

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?

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!

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

nhabib,

thanks!

I will try to test it tomorrow.