print a 'show run' to a tx file? Cisco 2800 Router

So I am no cisco guy, but I need to have someone help me with some changes we are making to our network. They asked me to email them a config file. As I can't get ahold of them until a point it would probably be useless for them... I need help. I can log into the router fine, and I can 'show run' the config alright. But how do I print that to a txt file? I can both hyperterm to the router, or putty to it. I'm sure this isn't that hard... I just don't know how :)   Thanks!


I also have a ASA 5510 and would like to do the same thing. I'm hoping it will be the same process?
Who is Participating?
PC_RobConnect With a Mentor Commented:
In the hyperterm console go to the TRANSFER menu and select CAPTURE TEXT.

Type the show run or show conf command.  Space down until it is all shown.

Go back to the TRANSFER menu, then select STOP CAPTURE.

The text file you specified is now full of the data that was on the screen.


Todd GerbertIT ConsultantCommented:
I usually just copy/paste into notepad.
PurpleWineAuthor Commented:
Yeah well... I knew it couldn't be hard. But that was pretty easy. Thanks :)

Is there a way to get the configuration at once without hitting the spacebar.

I use teraterm macros to save all configurations, on procurve switches I can use "print 'sh run' " and I don't have to hit space.
OK, I found a solution by myself:

You have to specify the terminal properties.
"terminal length 0" to show all at once.
"terminal no length 0" to resume them
"terminal length x" to set lines to x
"no pager" to show all at once.
"pager x"  to set lines to x

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.