03-02-2021 11:47 PM
Hi,
I need to redirect show tech-support output to a tftp server on a Cisco 7609 chassis for that I used the following command:
# show tech-support | redirect tftp://IP@/file.txt
But when I consult the tftp server I don't find the complete output of the show tech-support command, I only find the parts before the running config that's mean when the command starts to build to running-config the output is no longer redirected to the tftp server.
Any help please ?
Solved! Go to Solution.
03-05-2021 04:36 AM
Thanks for everyone for their suggestions. I have changed to a FTP server and it works fine now.
03-03-2021 12:12 AM
Hello,
try and set the terminal length to 0"
7609#terminal length 0
Which TFTP server software are you using ?
03-03-2021 12:17 AM
Yes I set the terminal length to 0 but It keep the same behaviour.
The tftp server that I am using is "tftp-hpa 5.2" for CentOS 7 machine
03-03-2021 01:17 AM
Hello,
changing the TFTP blocksize might help. The default is I think 512, change that to a higher value, e.g.:
7609(config)#ip tftp blocksize 1024
or even higher (2048/4096/8192).
03-03-2021 12:13 AM
Hello @AlaeddineJebnoun90723 ,
if you have telnet / SSH access to the Cat 7609 it is enough to use Putty client then after you open the session you go to "Change settings "and under window yo can put 2,000,000 of rows
At this point you can issue show tech-support and then you use right click of the mouse on the horizantal bar on the top and you choice "Copy all to clipboard"
At this point you can paste it in a text editor and save it with the desired name.
Hope to help
Giuseppe
03-03-2021 12:18 AM
Thank you for your reply but I need to redirect the output to a tftp server
03-03-2021 12:24 AM
- Look at the logs of the tftp server, some types of tftp-servers may for instance not able to handle large outputs.
M.
03-05-2021 04:36 AM
Thanks for everyone for their suggestions. I have changed to a FTP server and it works fine now.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide