Home > Archive > CCNA > March 2002 > copying config





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author copying config
jombeewoof

2002-03-18, 11:56 am

how do I copy the cofiguration to a floppy or a hard disk for backup
router is cisco 2501
web

2002-03-18, 12:01 pm

You would need to back it up to a TFTP server and you take it from there to where ever you want.
Any one please correct me if I am wrong.
HTH
jombeewoof

2002-03-18, 12:04 pm

is their an quick and easy way to fake that or do I actually have to do it
I'm using win2k pro or I can use 2kServer
ciscoteacher

2002-03-18, 4:15 pm

An easy way to copy the running config is as follows:
If you are using Hyperterminal, go to Capture, then Transfer text. Start the transfer. (Insert floppy and browse to that location, name the file...)
From your Router prompt, type sh run, and spacebar through the config. Then go back up to Capture, and stop the transfer.
Viola! You've captured your running config to a floppy!
strikeattack

2002-03-18, 9:12 pm

quote:
An easy way to copy the running config is as follows:
If you are using Hyperterminal, go to Capture, then Transfer text. Start the transfer. (Insert floppy and browse to that location, name the file...)
From your Router prompt, type sh run, and spacebar through the config. Then go back up to Capture, and stop the transfer.
Viola! You've captured your running config to a floppy!

It should be noted that with this transfer method you cannot move the configuration file back to the router/switch without retyping it. This method only works well when you want to read the configuration file off the router. It is output for humans only.

quote:
how do I copy the cofiguration to a floppy or a hard disk for backup

Because you referenced a "backup", I cannot recommend the above recommendation. Download Cisco TFTP Server, install it, transfer the file, and be done with it.
elco

2002-03-18, 9:48 pm

I'm gonna make a guess here, as I've tried this in class and it did work, though if I get some details screwy, someone correct me ....show run, click 'n drag to highlight all text, right click copy , open floppy ,right click , paste. btw, this will work to paste back into the router from the floppy also. Just be sure to first delete the current config ,reload then paste from floppy, then do a 'copy run start'.
strikeattack

2002-03-18, 9:52 pm

quote:
btw, this will work to paste back into the router from the floppy also. Just be sure to first delete the current config ,reload then paste from floppy, then do a 'copy run start'.

Or, you could just use TFTP and not have to worry about if it is going to work or not. Why is everyone so scared of TFTP?
elco

2002-03-18, 9:57 pm

quote:
Originally posted by strikeattack

Or, you could just use TFTP and not have to worry about if it is going to work or not. Why is everyone so scared of TFTP?



Maybe, for whatever reason, he wanted it saved on a floppy or drive. It DOES work incidentally, as we load our configs from a desktop .txt file before each lab.
strikeattack

2002-03-18, 10:01 pm

quote:
Maybe, for whatever reason, he wanted it saved on a floppy or drive. It DOES work incidentally, as we load our configs from a desktop .txt file before each lab.

Really. I would have thought that there would have been some difficulty in switching between Priveledged user exec mode, global config mode, and interface config mode. The startup-config does not reference these changes.

Were they simple or complex configs?
elco

2002-03-18, 10:14 pm

quote:
Originally posted by strikeattack

Really. I would have thought that there would have been some difficulty in switching between Priveledged user exec mode, global config mode, and interface config mode. The startup-config does not reference these changes.

Were they simple or complex configs?



..not sure what your referring too by 'difficulty in switching' exactly, but the configs are pretty basic, all the ports addreesses, telnet session passwords, etc, etc...maybe an access list or two...
strikeattack

2002-03-18, 10:26 pm

quote:
..not sure what your referring too by 'difficulty in switching'

When I say switching between modes, I mean switching between ROUTER>, ROUTER#, ROUTER(config-if)#, etc...
Not switching, as in the type ASICs perform.
elco

2002-03-18, 10:39 pm

quote:
Originally posted by strikeattack

When I say switching between modes, I mean switching between ROUTER>, ROUTER#, ROUTER(config-if)#, etc...
Not switching, as in the type ASICs perform.



Right, that I understood,...I should have been more specific by saying I'm not sure why you think there would be some sort of difficulty switching between these modes just by copy/pasting the config from to/from a .txt file.
darthfeces

2002-03-18, 10:47 pm

how about doing a select all, then copy in your terminal emulator and pasting it into a text file ....
works for me.
elco

2002-03-18, 10:50 pm

quote:
Originally posted by darthfeces
how about doing a select all, then copy in your terminal emulator and pasting it into a text file ....
works for me.




jombeewoof

2002-03-19, 11:46 am

I ended up using a tftp sever
the problem was I couldn't access the local machines through the routers (I completely forgot about changing the default gateway) in a relatively large lan 500+ pc's 3 floors of a building and the schools main router was configured automatically and the one's I was screwing with were all config'd manually no big deal it was just my first time trying to configure more than one router and I forgot a few steps but eventually I got all 5 working together with the schools network
yrret

2002-03-19, 5:46 pm

TFTP is the best way to copy and save the text because it saves an exact copy of the file in binary format. It doesnt need cleaned up, therefore; its a cleaner copy than the .txt file made by capturing the text. If you would like to send the text back to the router config you need to:
1.Clean up the text by removing all exclamation pts, more statements, and building configuation statements.
2erase the start up config
3then choose not to use the auto config at the beginning
4.Then in stead of capturing text, use the send text command in the menu

This should load the configuration into the running-config

Look at it with a sh run command.

If you want to keep it copy run start
Yankee

2002-03-20, 4:09 am

no need to remove the ! between lines separating commands from your .txt file

The most important and usually only thing you need clean up in a text file is the extra character added after the delimiter in the text display portion of a config like the MOTD.

Yankee
Mat P

2002-03-20, 5:10 am

quote:
Originally posted by strikeattack Or, you could just use TFTP and not have to worry about if it is going to work or not. Why is everyone so scared of TFTP?

I'm no coward, I'm not scared of TFTP - and regularly use both methods. Now the dark and spiders that's a different topic for a different thread!

But for a clean box with no config "cut and paste" is the perfect answer, no need to add IP addresses etc. The clean box is the important bit as the cut and paste method is additive (is that a proper word?? Is proper the correct word??))hmmm.

As for the editing the text - simply change the font to courier new and everything should return to normal (not sure on MOTD) although as Yankee correctly says - it doesn't make any difference.
strikeattack

2002-03-20, 2:41 pm

quote:
the cut and paste method is additive (is that a proper word?? Is proper the correct word??))

Um, I think the word you were looking for is preservative.
MadChef

2002-03-20, 2:48 pm

quote:
Originally posted by strikeattack

Um, I think the word you were looking for is preservative.



Then there's the cut and paste laxative. That's where dribble packets come from, I think.

MC
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net