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

How to backup config of hybrid msfc2 ?

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
Red

Re: How to backup config of hybrid msfc2 ?

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

New Member

Re: How to backup config of hybrid msfc2 ?

No,there is nothing.

Red

Re: How to backup config of hybrid msfc2 ?

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?

New Member

Re: How to backup config of hybrid msfc2 ?

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!

Red

Re: How to backup config of hybrid msfc2 ?

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

New Member

Re: How to backup config of hybrid msfc2 ?

nhabib,

thanks!

I will try to test it tomorrow.

133
Views
0
Helpful
6
Replies
CreatePlease login to create content