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

Today I faced a situation in which I have to mail Cisco Nexus “Show tech-support” to Cisco TAC, the output was very long as it was taking 15 minutes to display the entire output on the screen and I was not able to copy the entire content in one go, I searched the internet and cisco  however not any easy method I have found, after struggling initially at last I figured out a simple way, the way was so simple and I was really amazed.

Simple trick to copy Show tech-support or large data into 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.

show tech-support
Putty – All session output
Putty – Destination Hostname and Port

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

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.

5 Comments

  1. a better sollution:

    sh tech-support | tee flash:/tech-support

  2. excellent…it helped me
    thank you

  3. 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?

  4. 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.