How to Copy Large “Show Tech-support” from Cisco Device Using Putty ?

As Network Engineers we all have to send Cisco “Show tech-support” to Cisco TAC or any large CLI (Command Line Interface) output to vendor for troubleshooting purpose. The result of a large output is that we are unable to copy the entire content in one go. I searched the internet and Cisco but I didn’t find any easy method, after struggling initially at last I figured out a simple way, the way was so simple, that I was really amazed.

Simple trick to copy Show tech-support or large data into Putty

Let me first tell you what exactly is Putty and why we use it. Putty is a terminal emulator, serial console, and network file transfer software that is free and open-source. It supports various network protocols, such as SCP, SSH, Telnet, rlogin and raw connecting sockets. You can even use putty to connect to a serial port.

The next step which you rightly guessed is to install Putty on your computer, it is free and can be downloaded from here. Now you need to adjust some settings in putty before connecting to your device. Open the putty console, under Session click the tab Logging, the default option selected is None, change it to “All session Output” and under Log File Name click the tab Browse and choose a location on your computer, then again click to Session, under session click Default Settings and Save it.

cisco show tech
Putty – All session output

Now type the IP address of the destination device and select the port and connect to the device.

Putty – Destination Hostname and Port

Pro-Tip:- In the exec-mode of the Cisco device prompt, type “terminal length 0” so that the whole command can be executed in one shot.

Now Run whatever command you want to run in my case it was “show tech-support”. The output of that command will be saved into the file location mentioned under the putty “log_file name” section.

One more Pro-tip:- Take a backup-copy of the running-config first and then save the config somewhere safe before executing “Show tech-support” command.

Enjoy 🙂

How do you get show tech support?

Open putty console or your favorite telnet/ssh client on your personal computer. Now type the ip address of the destination device and select the port and connect to the device. Once you are connected to the device. For cisco devices, In the exec-mode of the device prompt, type “show tech-support”. Make sure you have enough privilege to type in “show tech-support” command, else get proper rights of the device before executing the command.

How do I output a file in PuTTY?

For this you need to have Putty installed on your computer, it is free and can be downloaded from here . Now you need to adjust some settings in putty before connecting to your device. Open the putty console, under Session click the tab Logging, the default option selected is None, change it to “All session Output” and under Log File Name click the tab Browse and choose a location on your computer, then again click to Session, under session click Default Settings and Save it.

Default image
Afroz Ahmad
My name is Afroz. I am a CCIE, and I have been working in Networking Industry for more than 14 years. Currently, I work as a Network Designer for a large Organization. I write about technical topics and challenges a Network engineer faces in day-to-day life in my blog. I love to teach people, and I believe in the simple concept that teaching makes you a better learner.
Articles: 35

5 Comments

  1. i only get so far with sh tech, and then putty window closes on me….seems to be too big even for this solution…what do i do?

  2. Helping me out 8-9 years later. I knew about Putty logging but had a brain fart. Thanks for sharing your struggle. You’re a real one. TYVM.

Leave a Reply