01-04-2006 04:24 AM - edited 03-03-2019 01:19 AM
folks
i need to pass on the contents of a show tech command but its very long!
does anyone know how i can output this to a file and then tftp the file to somewhere else?
thanks to anyone taking the time to reply
01-04-2006 04:37 AM
Hi
If u have the acessiability to the device from the other location u can access it via telnet using hyperterminal where u have an option to telnet onto the boxes.
Once you are in then u can select the option to get the log (Capture text) to an external file.
Then u can issue the show techsupport command to capture the details .
once u are done with that i think u can transfer the file as per ur wish..
i dont think about the other way in redirecting onto the flash and then tftping the file to someother location.
regs
01-04-2006 04:53 AM
Hi,
remember to set terminal length to 0.
Router#terminal length 0
Router#show tech
Router# terminal length 24
Otherwise your text file will contain all the " ----- MORE --- " statements messing up the output.
Hope this helps
Martin
01-31-2018 03:28 PM
or you can simply page through it:
sho tech page
it's just like using the linux/unix more command. Gives you results one page at a time.
01-04-2006 06:40 AM
Certain platforms allow you to redirect sh tech to a TFTP server and flash devices. This is an example from a CAT4500 running 12.2(25)EWA5
Switch#sh tech-support | redirect ?
bootflash: Uniform Resource Locator
cat4000_flash: Uniform Resource Locator
ftp: Uniform Resource Locator
http: Uniform Resource Locator
nvram: Uniform Resource Locator
rcp: Uniform Resource Locator
slot0: Uniform Resource Locator
tftp: Uniform Resource Locator
Switch#sh tech-support | redirect
01-04-2006 06:41 AM
Certain platforms allow you to redirect sh tech to a TFTP server and flash devices. This is an example from a CAT4500 running 12.2(25)EWA5
Switch#sh tech-support | redirect ?
bootflash: Uniform Resource Locator
cat4000_flash: Uniform Resource Locator
ftp: Uniform Resource Locator
http: Uniform Resource Locator
nvram: Uniform Resource Locator
rcp: Uniform Resource Locator
slot0: Uniform Resource Locator
tftp: Uniform Resource Locator
Switch#sh tech-support | redirect
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: