03-20-2009 08:57 AM - edited 03-06-2019 04:43 AM
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,
03-20-2009 09:00 AM
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
03-20-2009 09:03 AM
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
03-20-2009 09:14 AM
Or you can use the following if you are using command prompt:
telnet -f abc.txt 10.10.10.10
Thanks,
Mohamad
03-20-2009 09:30 AM
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.
03-20-2009 09:35 AM
You can use TFTP for that.
03-20-2009 09:45 AM
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,
03-20-2009 10:26 AM
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
09-13-2018 11:45 AM
secure CRT,
-->FILE,
-->Log Session Active.
save in desktop.
end.
10-04-2018 12:25 PM - edited 10-04-2018 12:26 PM
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
12-27-2023 05:44 AM - edited 12-27-2023 05:45 AM
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.
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: