|
|
| Goldorak 2004-05-18, 12:31 pm |
| Hi all,
i have a couple of old routers at work (2600 and 3600). No one knows what the pasword is to get in!!! Does that mean we are doomed? I'd really love to play with them but what can we do?
My boss told me that he does not care what happen to them configuration wise and ios version wise so what can i do?
Thank you for your help.
PS: If i wanted to add a switch to those 2 routers what would you guys suggest? | |
| nethead 2004-05-18, 12:36 pm |
| Cisco password recovery procedure:
click here
Good switches include 2950s, 3550s and 3750s if for work. If its just to play around on the 2950 or even 2900XL range would be good. | |
| cloclo 2004-05-18, 3:41 pm |
| Awsome! Thank you very much Methead. I did it and it worked. I must say, it was kind of awkward (first time ever on router), instructions did not quite match but it worked anyway.
I have a couple more questions now - Perhaps i should post anew! but anyway
1 - There are 2 of us (and perhaps more) at work that would like to share the gear and i was wondering if there is a way to save the config or the whole system to a file on the computer before exiting and wack it back on so that we don't mess up each other's work.
2 - I just want to know how tricky it is to update the ios version (12.2 is it for ccna?). I'm not after full instructions because i'd like to work it out but just how awkward it might be.
Thank you very much in advance. | |
|
| Both pretty simple.
1. You could copy the config to a tftp server, I find it easier to just do a "sh run" and copy/paste it into notepad - don't use the MS telnet client though, use hyperterminal, teraterm or similar.
2. you'll need to ensure you have enough memory for your software - the easiest way of upgrading it is via TFTP, look up the command "copy tftp flash" or a simple search on CCO of "upgrading IOS". You may have difficulties getting hold of the software.
I don't think you will go far wrong - even if you delete your IOS there are plenty of people round here who can advise on fixing the box. Just in case though you may want to back up the IOS you currently have before you start, look up "copy flash tftp". | |
| cloclo 2004-05-19, 2:52 pm |
| Thanks Matp
Worked on it this pm. all went fine. installed tftp, configured ethernet ip and pc ip. All ok. Backed up config and flash to tftp. Just have to upgrade now.
I feel if you are confidant with DOS all it takes is a bit of sense to find your way round ios. (might be a lot more to it, but on day 2 i find it pretty cool to learn.) | |
| cloclo 2004-05-19, 2:58 pm |
| One last question:
IOS scriptable? | |
|
| I think I understand what your asking. I regularly write a script before I start a lab, something like this:
enable
conf t
no ip domain-lookup
line con 0
logging synchronous
privilege level 15 <<Not sure on the "level" bit
exit
write
But it's normally a lot bigger!! Then I just paste it in using Hyperterminal.
If your doing anything repetitive use scripts, setting up SNMP, logging etc - something which is the same on every box. You could use CiscoWorks to push this out to your boxes. | |
| Goldorak 2004-05-20, 2:43 pm |
| Yes, kind of but can it be saved to a file in flash say and executed from cli.
The idea is that people share routers and we want to be able to use our own config without having to type "copy tftp run..." with all required parameters and prompts; so scripting would be ideal.
But i just thought of something, can the router be configured to load config from tftp? I know it can load ios from tftp but not sure about config. If this is possible, then superb.
Or any ideas / suggestions. I wouldn't have thought i'd be the first to be in this situation.
Thank you | |
|
| You can save to flash - but I've never tried it:
Rack1R4#copy run ?
flash: Copy to flash: file system
ftp: Copy to ftp: file system
lex: Copy to lex: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
pram: Copy to pram: file system
rcp: Copy to rcp: file system
running-config Update (merge with) current system configuration
startup-config Copy to startup configuration
system: Copy to system: file system
tftp: Copy to tftp: file system
xmodem: Copy to xmodem: file system
ymodem: Copy to ymodem: file system
The problem with uploading the configs from a TFTP server is that when you upload the config it would be "added" to the existing config, copying from flash maybe the same.
What I do is a "show run", cut/paste to notepad then when I get back to the box, "wr erase" the config then cut/paste the old config back in - not forgetting a "no shut"
Let us know how you get on. | |
| forbesl 2004-05-20, 3:58 pm |
| quote: Originally posted by Goldorak
But i just thought of something, can the router be configured to load config from tftp? I know it can load ios from tftp but not sure about config. If this is possible, then superb.
Or any ideas / suggestions. I wouldn't have thought i'd be the first to be in this situation.
Thank you
Yes, you can tftp a config file to the router. Save your config as a text file and place it in your tftp server download folder. Then do a "copy tftp run" from the router to your tftp server. | |
| Goldorak 2004-05-20, 4:36 pm |
| How does Configuration register work? Can this not make the router point to a configuration file on the TFTP server at start?
Also, how do you reboot a router? ( reset only seem to work from ronmon> )
Also, Routers i have in my lab at work have ios 11 dot something. That's ok for messing about with cli? I use simulator at home. By the way, i don't care what people say but 1 router on its own beat any sim - One example: Rollover to console port - that took me one hour to work it out but if i just used sim, i could be ccna and not know how to console to a router. Now, you give me the gear, i console in 20 secondes!
PS: Forums are so cool. i knwo noone around i can talk about this. You guys are worth you weight in gold - Thank you. | |
|
| correct
interviewer walking you through the place showing the resources available to you to further your study if you are hired and guess what that sitting on the table in their cool A lab.
hmmmm he has an idea, he tell you, hook it up while I *insert* and I will show you something really cool.
95% of the so call ccna stand there going...
huh? connecting what cables? huh? how do you telnet? terminal? huh? where is the sim icon?
2 minutes later the once impressed interviewer comes back and wonder what his malfunction is.
ccna certified go home thinking this cert is a piece of crap, can't even get him a job and blame it all on cisco the evil money hugry faceless corporation for making it tuff and stealing his 125 bucks. Two weeks later he comes to the conclusion that what he really need is ccnp... so he download the latest dump, become ccnp and the cycle continues... Two years later he works at McD thinking the tech industry failed him. | |
| Goldorak 2004-05-20, 5:33 pm |
| Yep! | |
| Sexy Lexy 2004-05-20, 5:58 pm |
| quote: Originally posted by mikop
correct
interviewer walking you through the place showing the resources available to you to further your study if you are hired and guess what that sitting on the table in their cool A lab.
hmmmm he has an idea, he tell you, hook it up while I *insert* and I will show you something really cool.
95% of the so call ccna stand there going...
huh? connecting what cables? huh? how do you telnet? terminal? huh? where is the sim icon?
2 minutes later the once impressed interviewer comes back and wonder what his malfunction is.
ccna certified go home thinking this cert is a piece of crap, can't even get him a job and blame it all on cisco the evil money hugry faceless corporation for making it tuff and stealing his 125 bucks. Two weeks later he comes to the conclusion that what he really need is ccnp... so he download the latest dump, become ccnp and the cycle continues... Two years later he works at McD thinking the tech industry failed him.
Fantastic!
Roughly a year ago, I had the misfortune to meet an MCSE who did not know what the first three IP classes were or their octet ranges.
And another one, that always kills me; a CCNP was told to ping to switch to see if it was active, his reply was?
"How do you do that?"
No word of a lie.
 | |
| Goldorak 2004-05-20, 6:08 pm |
| No way! That is not right!.
These people will get a job as well; and you will be pushing trolleys at your local Tesco because you don't have all these quals but know just as much if not more.
Someone tells me what's going on.
PS: How can you be ccnp and not knwo how to type ping space ip address? Was the keybord broken or something? I'm sure i could ping before i was born! | |
| forbesl 2004-05-20, 7:00 pm |
| quote: Originally posted by Goldorak
Also, how do you reboot a router?
Just type in "reload" at the prompt. | |
| Goldorak 2004-05-21, 2:24 am |
| Thank you forbesl | |
|
| quote: Originally posted by Goldorak
How does Configuration register work? Can this not make the router point to a configuration file on the TFTP server at start?
Your getting your money's worth out of us here....
There is a boot system command which does what your after - the problem would be that in order to reach your TFTP erver you would have to configure at least one IP address and bring the interface up. And you would also need to add a boot system command. There is also an autoinstall feature you might want to search for, which sends bootp requests out of interfaces, it may be worth a read - though this is probably taking it a bit far, it's more likely what you will be asked in the IE than NA. Heres a few links for you -
http://makeashorterlink.com/?B2A141C58
http://makeashorterlink.com/?Z2C151C58
http://makeashorterlink.com/?W24131C58
http://makeashorterlink.com/?E37112C58
The config register is well documented on CCO, ou can use it to force a router to boot from ROMMON for password recovery, shorten the bootup sequence (If I recall correctly), have a trawl around. | |
| Goldorak 2004-05-21, 6:34 pm |
| Matp, you're the king.
Thank you.
Had a problem this pm rebooting after replacing ios in flash. => rommon>. It took me a while to workout tftpdnld. I really thought i'd cocked it up; but there always seems to be a way |
|
|
|