cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
94880
Views
102
Helpful
10
Replies

How to get show tech-support?

sivaprakasam81
Level 1
Level 1

Hi All,

How to get the show tech-support output in a text file. It keeps moving. Can you please give some guidance to work with show tech-support command.

Thank you,

10 Replies 10

Jerry Ye
Cisco Employee
Cisco Employee

Hi,

What terminal emulation software are you using? If you are using CRT or SecureCRT from Van Dyke, you can log the session. If you are using HyperTerminal, you can capture the text under "Transfer". If you are using command prompt, you have to change the buffer to a very large number and cut and paste it.

HTH,

jerry

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sivaprakasam,

whatever telnet client you are using there are logging options

you need to enable log to a file

then you do sh tech-support

then you stop logging and you have the sh tech in a text file on your PC

for example for putty is

change settings -- logging

select printable output only

on the file name box choice the filename you want to give to the file

with securecrt

file ->log session open a file dialog box where you can choice name and dir

Hope to help

Giuseppe

Or you can use the following if you are using command prompt:

telnet -f abc.txt 10.10.10.10

Thanks,

Mohamad

Thank you!

I can log the file in my local drive. Can i transfer the file (like crashinfo file or image file) using telnet?

or

How can i transfer file using Putty?

Thank you.

You can use TFTP for that.

To use tftp, there is a need of workstation in the remote location. Is there any other way,where i can do the file tranfer without going for a workstation in the remote location LAN.

Thank you,

You can redirect the output of the "show tech" file via TFTP. I'm not sure if this is what you are looking for.

show tech | redirect tftp://1.2.3.4/test.cfg

Change the 1.2.3.4 to the TFTP server IP address, and change the test to what you would like to name the file.

HTH,

mark

ALVAS
Level 1
Level 1

secure CRT,

 

-->FILE,

-->Log Session Active.

save in desktop.

 

end.

FBMTRAV
Level 1
Level 1

Download a TFTP client (I use TFTPD).

If you're using a Nexus switch;

SW-Core# show tech-support > tftp://10.10.10.1/SW-Core-ShowTech
  • 10.10.10.1 is the IP address of your TFTP Server
  • You will now see the file copying up to your TFTP server
    • This will take a while depending on your configuration and network speed
  • When Complete > You'll see the file "SW-Core-ShowTech" on your TFTP server
    • Open it with a text editor to confirm the contents

AmerEZAHIR
Level 1
Level 1

Hi,

You can forward directly the output of the show tech-support command via scp to an ssh server

for exp: 

# show tech-support details > scp://mysshuser@10.10.11.25:/home/mysshuser/shtechsup.txt

Then use any scp browser like "winscp" to get your file from the ssh server.

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card