09-09-2004 10:36 AM - edited 03-02-2019 06:21 PM
Any clues as to how to save the running config in a router via the aux port?
I know about a flash image, but while connected to a router via modem-->AUX port, I need to retrieve the config and save in my computer.
Any assistance will be greatly appreciated.
09-09-2004 11:30 AM
Depends on how your dialing in. If it is a terminal exec session I would use Hypter Term to dial in to the AUX then you can use the Transfer>Capture Text to get the config off the router.
Daniel
09-09-2004 11:40 AM
I think you are saying that you have a session to a router via a modem connected to the router AUX port. Is that correct? Do you get the prompt and can login?
If so you should be able to do a show run and copy and paste the config to your computer.
HTH
Rick
09-10-2004 06:33 AM
You are just talking to the router through the AUX port. You can still tell it to send the config to a tftp server on your pc through the network. It doesn't matter whether you are telnet'd , on the cons port or the aux port. If the pc can reach the router through the network you can save the config with tftp to the pc or any tftp server that the router can reach. The is more viable than copy and paste if its a long config and eliminates having to edit out the more---- statements.
09-10-2004 12:39 PM
I guess that what I am trying to do is to copy the config through the AUX port while dialing into the router. This is the only way I can access the router and no ftp/tftp service is available in the router's local lan. So, can I do a "copy config" like command to pull up the config through the AUX while connected through it?
Thanks for the answers so far!
09-10-2004 01:40 PM
If you are dialing in through the aux port with an exec (character mode session) you should be sitting at the router prompt just like you would be in a console session.
At that point depending on what you use to dial in (hyperterm, Dialup Networking with the show terminal window box checked in the security tab, etc) you can just type "show run" for the configuration the router is running off in RAM or "show start" for the config stored in NVRAM that will be used when it is powered off and brought back online. Then just highlight the window, or do whatever capture abilities you have in your program to copy the info on the terminal screen and save it as a text document.
Daniel
09-10-2004 01:54 PM
Take a deep breath Barney, relax a bit, now go back and reread what everyone else has posted and recognize that there appears to be a fundamental disconnect between the question you are asking and the answers you are expecting.
So lets step back a few steps and explore the underlying assumptions behind your question and the answers posted.
How are you connecting to the aux port? You state that you are going through a modem, but you do not state what is calling into the modem, a PC, a terminal, another router, or whatever. You also don't state what protocol is being used between that device and the router. The answers above assume you have a simple terminal session, but you could also have a PPP, SLIP, LAT or other protocol session. The answer of how to capture the configuration will vary depending upon the answers.
For example, if it is a terminal session on a PC, the correct answer is "turn on logging (or capture, or whatever your terminal emulator calls it) and type the command 'show running'." If it is a PPP or SLIP session, the correct answer is "run a TFTP server on your PC at the other end of the link, run the command 'ifconfig ppp' (or 'winipcfg' or 'ipconfig' or whatever is appropriate for your particular PC OS) to get the IP address assigned by PPP to your PC, and issue the command 'copy run tftp' to the router and answer the prompts, filling in the appropriate file name and IP address."
If that does not answer your question, consider asking again, this time describing what you are trying to do step by step, and why you believe you are having a problem. Perhaps you could describe what you have tried so far and how it has failed. If nothing else, a better description of your environment (router type, IOS, what protocol if any is running over the link to the AUX port, whether you are having trouble connecting to the router or just don't know how to capture the output, what your PC is and what version of Windoze you're running (sorry, but I can't imagine this question coming from a Linux or Unix user).
Bottom line: This should be a trivial task with a multitude of correct answers (for example, write terminal could be used instead of show running, and may even be the only option if your IOS is old enough (10.3 or earlier)).
Good luck and have fun!
Vincent C Jones
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide