Home > Error > Error - Bad File Number Cisco Archive

Error - Bad File Number Cisco Archive

Register now! The script I used for SSH to the Pix is the same one I gave the link for in my original post. The telnet one works fine for me. For one, when I use this method for Telnet, it works. click site

The Cisco IOS archive command actually has a number of functions. Of course this can be avoided by manually copying the running configuration for safe keeping, but we like automatic. Chuck From: Alex Wa [mailto:awain567 [at] yahoo] Sent: Wednesday, February 25, 2009 2:31 PM To: lista de correo de cisco; Church, Charles Subject: RE: [c-nsp] flash disk problem Thanks,charles Firmware version On Error Resume Next ' Now, attempt the connection, using the information that was retrieved ' from the script /ARG command line arguments.

Enter Y if you are sure you want to proceed. ? [no]:y
Total number of passes: 1
Rollback Done After you see "Rollback Done", your selected archived configuration is Much appreciated. -Steve jdev10-27-2010, 04:55 PMThe immediate problem with your shortcut is that your script file path has a space in it, and is a relative path. The script doesn't look like it should have. Did you try verify slavedisk0:filename?

  1. Thanks, triggerhappy 0 Back to top Back to Cisco TAC 1 user(s) are reading this topic 0 members, 1 guests, 0 anonymous users Reply to quoted postsClear Sadikhov IT Certification
  2. I needed to enable the 'Display logon prompts in terminal window' option in order to capture the username and 1st password.
  3. Cisco IOS 12.3 introduced the Cisco IOS archive and archive config commands.

Your router has a hardware failure and needs to be replaced. Regards Manoj Posted by Manoj Kumar at 3:48 PM Labels: archive command, Cisco switches Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Blog Archive ► 2016 The kind of automatic that we don't have to worry about. That might not support the card either.

I need this to work via SSH2 with either 3DES or AES-128 or 256. The issue is that i'm trying to upgrade the IOS to the new one in flash and it can't load. Now, if it has firmware below 7.1 how can i format and even copy files to and fron the flash? http://mytechexp.blogspot.com/2015/02/use-archive-command-to-save.html I also would like to know the difference between disk0: and slot0:, i don't fully understand it, if any.

I then modified it a little so that the prompts to expect are generic so I can use this for all 64 3130 switches I have. If not, can you let me know what specific problems you are encountering, if any? Privacy Policy | Cookies | Ad Choice | Terms of Use | Mobile User Agreement A ZDNet site | Visit other CBS Interactive sites: Select SiteCBS CaresCBS FilmsCBS RadioCBS.comCBS InteractiveCBSNews.comCBSSports.comChowhoundClickerCNETCollege NetworkGameSpotLast.fmMaxPrepsMetacritic.comMoneywatchmySimonRadio.comSearch.comShopper.comShowtimeTech How do you archive your router configuration?

There's a few ways to iterate over a number of devices, connecting to each one, issuing a command, moving on to the next one. http://serverfault.com/questions/50052/cisco-7206-error-trying-to-copy-running-config-bad-file-number Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable? Polar Coordinates in sets Proof of infinitely many prime numbers Why aren't Muggles extinct? Archive configuration commands: default Set a command to its defaults exit Exit from archive configuration mode log Logging commands maximum Maximum number of backup copies no Negate a command or set

Does this operation exist? http://dssoundware.com/error/error-generating-cross-section-file.php Simulate keystrokes What's the last character in a file? I don't care if it's a script or command line options at this point but I would like to find an automated way to do this: 1) Log in via SSH2 Telnet worked for you.

You can do both local backups of configurations as well as remote backups. I mean that it doesn't show anything and just sends me right back to the command prompt. There are two ways that I know of the run the script. http://dssoundware.com/error/error-7003-specific-symptom-number-313.php First, I'd disconnect everything from the router except your connection for the command prompt.

If you want the router to archive your configuration at a desired interval, you can do that too by using the time-period command followed by the number of minutes that you SolarWinds has tools that can do this or you can try Billy the Kids SNMP tool and I'm sure there are others that someone could point you to. All content is " & chr(124) & chr(13) & chr(10) & chr(124) & "confidential and protected by applicable laws.

When I type "wr mem" I am getting the error "startup-config file open failed (Bad file number)" Can you please inform me how can I fix this problem?

For further assistance, please provide a copy of the script to [email protected] when  I try to use verify slaveslot0:filename I get this error output   %Error verifying slaveslot0:c6sup22-jk2sv-mz.121-22.E2.bin (Bad file number)   the disk was formatted in this switch and the file copied  without The next archive file will be named flash:mybackup-3 Archive # Name 0 1 flash:mybackup-1 2 flash:mybackup-2 <- Most Recent 3 4 5 6 7 8 9 10 11 12 13 14 Any help would be most appreciated.

After that I realized , startup-config were gone. What if you neglected to save the config before you changed it? this may or may not work. http://dssoundware.com/error/error-43-a-file-could-not-be-found.php You should be able to copy the code example that Jake provided, modify it to meet your needs, use a SecureCRT command-line similar to the one in the example code to

Probably next week sometime. thanks in advance for any suggestion. when I try to use verify slaveslot0:filename I get this error output %Error verifying slaveslot0:c6sup22-jk2sv-mz.121-22.E2.bin (Bad file number) the disk was formatted in this switch and the file copied without problems. March 30, 2009 in Cisco.

you must log off " & chr(124) & chr(13) & chr(10) & chr(124) & "of this device immediately. For example if your script file is located in C:\Temp\, you'd specify the target for the shortcut as follows: "C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe" /Script "C:\Temp\FWSM login.vbs" --Jake ryderse10-27-2010, 05:55 PMHi Jake, Thanks Otherwise, it won't understand the 64MB ATA card. I am getting closer.

ForumsJoin Search similar:[HELP] CUE Licence InstallHow to Move Nvram files to Flash[Unlock] Vonage RT31P2[DSL] SmartRG configuration: unclear XML portions[HELP] CME 9.1 aggroCisco 867VAE-K9 - slow speed issues Forums → Equipment Support I have this problem too. 0 votes Correct Answer by burleyman about 6 years 5 months ago Try this....archivepath tftp://$write-memoryMike See correct answer in context 1 2 3 4 5 Overall This works very well and is very fast too. Cartesian vs.

Rich Stevenson Menu Skip to content HomeAboutContact Automatically backup your Cisco IOS configurations Rich Stevenson / March 30, 2009 So you have your router and switches all setup the way you This is how the telnet script works. It was corrected in 12.4.15T5 and respective other feature sets. Once I can get the login to work, then I will work on adding the 'copy run tftp' command.