I manage lot of router and switch my problem is before I do any changes to configuration file I want to save a copy of it
if I do sh run using putty it just displays one page worth of information and I have to do copy paste one page at a time
is there any easier method to copy paste entire running config to a text file ?
enable session> logging in putty using connection properties
term len 0
in this way all the file is placed without need to press for next page
then you stop logging and you have your file.
to have again pages type:
term len 25
putty saves an header with date and time at the beginning after that you have clean text file.
Hope to help
Unfortunately, the command term len 0 didn't work for me on an ASA 5516x. I had to do the following, after turning on logging in Putty:
pager line 1000
pager line 24
This puts the ASA into enable mode, config terminal mode, sets the number of lines between page breaks to 1000, runs the show running config and then resets the number of lines back to 24. It worked well for me!
If you are wondering how to copy your save running-config to a text file, my best suggestion would be to copy the outcome of the command line (via the CLI) and then open notepad and past the config there. Afterward, you can obviously save it to the desired folder!
Hope this helps!