How to capture or copy Router backup configuration with PUTTY

You can easily capture or copy/Save  the configuration file from any network devices like Cisco Routers, Switches etc.. with putty and also you can capture complete PUTTY session, it will save all configuration changes and output of all issued commands throughout the session.

PUTTY is a small free open source tool which is used as client for SSH, Telnet, rlogin and raw TCP computing protocols. Most of the computer professionals might use PUTTY to connect remote machine and to work in terminal.

Steps to take a Configuration Backup with Putty:

Follow the below steps to capture the Router backup configuration or complete session log with PUTTY….

1. Launch Putty and connect to your Cisco Router/Switch

2. Enter the Privilege Exec mode by entering enable password.

Router> enable

3. Enter the terminal length 0 command  in order to force the Router to return the entire response at once, rather than one screen at a time.

Router# terminal length 0

This allows you to capture the configuration without extraneous −−more−− prompts generated when the router responds one screen at a time.

4. Right-click on the menu bar of the Putty screen and select “change Settings

Fig. putty_change_settings










5. Go to Session and click on Logging, select “Log all session output

Fig. putty_logging_backup













6. Click on Browse and choose the location and name of the file (I like to place my config file on my desktop – C:\Documents and Settings\Administrator\Desktop\config.txt)

7. Click apply

8. Now enter the show run command, Loggout and see the output in config.txt on your desktop (or the location you chose).

Router# show run


Filed Under: Networking


About the Author:

RSSComments (11)

Leave a Reply | Trackback URL

  1. Marina says:

    You have really interesting blog, keep up posting such informative posts!

  2. Khan says:

    Thank you. I was looking for the same about Putty. Now I am able to take a Cisco Router or other devices configuration backup with Putty.

  3. Lee says:

    Thank you. I got configuration backup steps with Putty.

  4. Nelson says:

    Very nice post! tips to take a configuration backup with Putty on Networking devices.

  5. Smith says:

    Thank you. I understand to capture a configuration backup with Putty on Cisco Devices.

  6. Martin says:

    Nice article on Putty 🙂

  7. Sagar says:

    Please email me with any hints on how you made your blog look this awesome, I would be appreciative!

  8. Kanth says:

    Good day very nice website!! Guy .. Beautiful .. Wonderful .. I will bookmark your site and take the feeds also?I’m satisfied to seek out numerous helpful information here about capture backup configuration with PUTTY within the publish, we want work out more strategies in this regard, thanks for sharing. . . . . .

  9. Robin says:

    Great tips, Thanks for sharing about PUTTY options.

  10. Thomas says:

    Great tips about take a configuration backup with Putty , Thanks a lot for sharing this with all of us you actually realize what you’re talking about!

  11. Tboss says:

    Having gone through too many reinstalls lately, I’m glad to see this. Yeah, I could have figured this out on my own if I wanted to, getting the source is pretty darn easy if I didn’t want to use Procmon.

    And there’s a new version of Putty for those of us (like me) that are still using .58.

    And now that I’ve got Putty set the way I want it (er, no, I want to set the colors, fraq), I’ll put that .reg file where I can download it anywhere.

Leave a Reply

If you want a picture to show with your comment, go get a Gravatar.