06-24-2003 05:26 AM - edited 03-02-2019 08:22 AM
I would think this would be an easy one for someone to answer. How do I output the configuration that is running on my router to a text file?
06-24-2003 06:05 AM
If you are using hyperterminal, give a Capture Text (from Properties menu) and specify a file name (say C:\capture.txt). Now issue a "show run" command and keep pressing space or Enter, until the whole configuration is listed. Once this is done, Stop the capturing from the same menu.
Now you will have the router config on capture.txt file.
Another way to do it is to copy the file into a tftp server.
Set up a tftp server and issue the following command on the router.
copy running-config tftp
Router will prompt you to specify ip address of Tftp SERVER, and destination file name. Specify a file name for the file being copied on to tftp server. The file can be found in the default TFTP folder of the TFTP server. (Make sure you are able to reach the TFTp server from the router)
Hope that helps!
06-24-2003 03:21 PM
Keep in mind, if you use the capture method, issuing 'term len 0' before 'show run' removes the need to keep hitting the space bar.
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