Home > Error > Error - Bad File Number Cisco Archive

Error - Bad File Number Cisco Archive

If not take the logs go to cisco get a replacement 0 Back to top #4 triggerhappy triggerhappy Advanced Member Members 191 posts Posted 02 April 2008 - 06:07 AM There You can configure the archive function to automatically make configuration backups at set times or whenever you save your changes. I need to run from a shortcut (or command line) so I can batch this. Also, and equally as important, the archive command can be used to automatically log all commands on a router and the name of the person who entered that command. More about the author

crt.Screen.Synchronous = True crt.Screen.IgnoreEscape = True ... > Ideally I would like to be able to do this for a number of > different devices. For example, it can help you create archives of your router configuration. 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 Mark 0 Back to top #3 Pravin Pravin Member Members 61 posts Gender:Male Location:INDIA Posted 28 March 2008 - 05:52 PM Seems to be to be problem with the nvram. https://supportforums.cisco.com/discussion/10870661/cisco-archive-config-backup-problems

Router(config)# ip ftp username stevenson\netadmin
Router(config)# ip ftp password n3t4dm1n Now execute the ‘archive' command. Router(config)# archive Now specify the path for the configuration archives Router(config-archive)# This is done by adding /ARG command line parameters to the end of your current launch command. That's what is missing.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Can you figure out exactly what you did and try to put it back the way it was? To configure archiving, you go into global configuration mode and then enter archive mode. Plus I notice that it also did not capture the username and the 1st password.

it doesn't show me the disk0: option but I can copy to disk0: . You can do both local backups of configurations as well as remote backups. If you keep a list of these devices in an Excel spreadsheet, you might want to consider borrowing from the "ExcelSpreadsheets-ReadingAndWriting.txt" script located in this forum post: http://forums.vandyke.com/showpost.php?p=25162&postcount=12 If you keep http://mytechexp.blogspot.com/2015/02/use-archive-command-to-save.html The error I get is 'Hostname lookup failed' when using the shortcut.

i hope this information will help you. differences Display the differences between two config files incremental-diffs Display lines in config file which will be added to running-config As these archived configurations are just text files in the flash I then launch this script from a shortcut like this below: "C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe" /T /S "Prod\BO3\D2C3130B05BC03A2 B05 BC03 E2" /script 3130LoginTest.vbs This appears to work fine...for one switch. Now, if it has firmware below 7.1 how can i format and even copy files to and fron the flash?

ryderse10-27-2010, 12:21 PMThanks Michael. http://serverfault.com/questions/50052/cisco-7206-error-trying-to-copy-running-config-bad-file-number 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 Please reference "Attn Brenda - Forum Thread #6315" in the subject line. Set objFile = g_fso.OpenTextFile(strLogFile, ForAppending, True)" I have modified the following lines on the code g_strHostsFile = g_strMyDocs & "\hosts.txt" g_strCommandsFile = g_strMyDocs & "\commands.txt" g_strLogFileTemplate = g_strMyDocs & "\IPADRESS--COMMAND--YYYY-MM-DD--hh'mm'ss.txt" is

All rights reserved. my review here If you have regress and see if the problem goes away. And write-memory causes the configuration to be archived each time the write memory command is issued. For example: "...\SecureCRT.exe" /Script "C:\Temp\FWSM login.vbs" /ARG host_or_ip /ARG user /ARG and-so-on-and-so-forth Once you have the command line with the script arguments specified with the /ARG pattern, you can gain

If so, is there a reference procedure somewhere? i am using FTP server to archive the configuration. That might not support the card either. http://csimonitoring.com/error/error-7003-specific-symptom-number-313.php tftp: A URL beginning with this prefix R1760(config-archive)#path tftp: This's all, i was searching but all i found is to save the configs on the router or slot.Thanks in advance. ·

maybe something I said helped. When I run the script I get "Hostname lookup failed: host not found" The script does not have the IP address of the host I am attempting to connect too. you must log off " & chr(124) & chr(13) & chr(10) & chr(124) & "of this device immediately.

besides when i type verify ?

Result of show archive:route#sh archive Load for five secs: 57%/1%; one minute: 25%; five minutes: 14% Time source is NTP, 20:59:06.833 BST Wed Jun 13 2007 The next archive file will Having the Nexus work too would be great but my biggest concerns are with IOS/ASA via SSH. There does not appear to be a way to do both from the CLI however. Thanks again, -Steve #$language = "VBScript" #$interface = "1.0" crt.Screen.Synchronous = True ' This automatically generated script may need to be ' edited in order to work correctly.

March 30, 2009 in Cisco. The script I used for SSH to the Pix is the same one I gave the link for in my original post. 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 http://csimonitoring.com/error/error-43-a-file-could-not-be-found.php http://forums.vandyke.com/showthread.php?t=932 What I really need is a way to tftp the configs for: IOS using ssh ASA (ver 8.x) in multiple context mode, using ssh Nexus OS (ver 4.xx) using ssh

In this script I connected to a device, logged in, ran 3 or 4 commands, exited and then saved the script. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Probably next week sometime. Check it out.

Regards, triggerhappy 0 Back to top #2 MarkinManchester MarkinManchester Village Elder Veterans 3976 posts Gender:Male Location:Manchester Posted 28 March 2008 - 05:13 AM Hi Have you recently uploaded a new image If you do not have " & chr(124) & chr(13) & chr(10) & chr(124) & "the express written permission of Blackbaud Inc. Register now! It seems like there should be a way to launch a script against an entire folder that contains all the sessions you want to connect to.