Home > Cisco Error > Cisco Error - Bad File Number

Cisco Error - Bad File Number

Once in bootmode you will be able to use copy tftp flash. I followed it verbatim (for telnet to a switch) and it worked great. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Hot Network Questions How to typeset a system of linear equations in LaTeX? http://trinitylabsupply.com/cisco-error/cisco-error-while-writing-output-file.html

this may or may not work. GeneralDzur (TechnicalUser) (OP) 2 Apr 05 03:49 Yeah, we're looking at purchasing a new flash off eBay. - stephan Red Flag This Post Please let us know here why this post I'm working as a Sr. current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list.

dir nvram/flash/usbtoken0:... Sub Main crt.Screen.WaitForString "+-------------------------------------------------------------------+" & chr(13) & chr(10) & chr(124) & "This is Blackbaud Inc. When I run from Script >> Run, I get a different error text but it looks like the same issue.

This works very well and is very fast too. Now if I have a failure or issue a bad command I can quickly and easily get things back to the way they were previously. If you reload this router it will end up in rommon mode. I tried it on a 3550 SW, 2960 SW and 2811 Router and it is always the same error.

I want to schedule this script to run once/day to 1) Log into the FWSM 2) copy run tftp (Copy running config to tftp) 3) Exit Once I can get passed archive log config logging enable logging size 1000 notify syslog path tftp:// ! In this example, I'll being configuring the router to copy the configuration to a Windows 2003 FTP serverĀ  every time the ‘write memory' command is issued. http://mytechexp.blogspot.com/2015/02/use-archive-command-to-save.html You now have your router setup to automatically archive/copy your most recent configuration file to an FTP server for safe keeping.

Plus I notice that it also did not capture the username and the 1st password. I have this problem too. 0 votes Correct Answer by burleyman about 6 years 7 months ago Try this....archivepath tftp://$write-memoryMike See correct answer in context 1 2 3 4 5 Overall Cheers and good luck RE: Command to see Flash contents in old IOS version? Please re-enable javascript to access full functionality. 0 Startup-config File Open Failed (bad File Number) Started by triggerhappy , Mar 28 2008 03:22 AM Please log in to reply 3 replies

Here's my 'show file system'917_gw_rtr#sho file systemFile Systems:Size(b)Free(b)TypeFlagsPrefixes2968827279nvramrwnvram:--opaquerwnull:--opaquerwsystem:--opaqueroxmodem:--opaqueroymodem:--networkrwtftp:--opaquewolex:--networkrwrcp:--networkrwpram:--networkrwftp:917_gw_rtr#show flash^% Invalid input detected at '^' marker.- stephan RE: Command to see Flash contents in old IOS version? Bonuses There are two ways that I know of the run the script. What do you think? However, I am still getting the same "Hostname lookup failed: host not found" error when I run the script from a shortcut. "C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe" /script FWSM login.vbs Running from a

Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. his comment is here functions to operate in sync with each other and ' avoid missing data that might arrive between the time one script ' statement runs and another script statement is called. GeneralDzur (TechnicalUser) (OP) 28 Mar 05 01:39 We reloaded the router recently because our satellite connection went down and we had to re-install a new satellite and Indoor Unit. Its confusing me, I'll admit.- stephanHere's the most current config againBuilding configuration...Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeservice password-encryption!hostname 917_gw_rtr!no logging bufferedno logging consoleenable secret 5 $1$h.TO$xKBYPflZsFnaAGMlSv6bV0!!!!!memory-size iomem 15clock

I have read through some posts here but can only seem to find ones that work with Telnet. If not, can you let me know what specific problems you are encountering, if any? _raindrop1805-05-2011, 09:08 AMHi arindam1978, Thanks for the questions. 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 http://trinitylabsupply.com/cisco-error/cisco-error-getting-file-system-status.html Need alternative to VLC [No,IWillNotFixYour#@$!!Computer] by cowspotter383.

Are you aComputer / IT professional?Join Tek-Tips Forums! Decide which archive file that you want to restore, from the list you saw when you issued the show archive command and enter that name as shown: Router# configure replace The error messages references line 10 in the script.

Seems quite easy, yes.

Try getting a new flash on ebay and try it out. ReadRight (IS/IT--Management) 30 Mar 05 09:48 And yet the router boots, and SH VER shows that it's booting from flash.If you ever have a chance during downtime, plug a console cable Thanks for letting us know. --Jake arindam197805-02-2011, 01:47 AMHi, It would be of real help if you can provide me with the entire procedure of running this script. To change the source interface of the FTP, please issue below commands on configuration mode ip ftp source-interface vlanXX where xx vlan or interface IP address which having access

Regards Arindam arindam197805-02-2011, 02:00 AMHi Pls let me know the entire process of collecting the configs (sh run / Sh ver output) using this method. 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)# If there is sensitive information, please send the script to [email protected] and include "forum 6315" in the subject. http://trinitylabsupply.com/cisco-error/cisco-error-46-fix.html ReadRight (IS/IT--Management) 1 Apr 05 16:09 There must be something wanky with your flash wafer.

Then, launch SecureCRT with a command line that looks like this (using the "Automation" folder path mentioned as an example above): SecureCRT /S /Automation /Script "C:\Path_to_my_Script\MyScript.vbs" The command exemplified above will Anyway, back on subject. I need this to work via SSH2 with either 3DES or AES-128 or 256. Plus I notice that it also did not capture the username and the 1st password.

i am using FTP server to archive the configuration. So, I started a new script for the FWSM by simply recording a script as I log in. Do you have to be a registered user? - stephan RE: Command to see Flash contents in old IOS version? 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

In the logs , I saw geometry of NVRAM failed .... The only SSH one I can see is for Pix. RE: Command to see Flash contents in old IOS version? It was corrected in 12.4.15T5 and respective other feature sets.

Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... 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. 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