cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
51913
Views
45
Helpful
5
Replies

show tech output

mulhollandm
Level 1
Level 1

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

5 Replies 5

spremkumar
Level 9
Level 9

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

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

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. 

Prashanth Krishnappa
Cisco Employee
Cisco Employee

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

Prashanth Krishnappa
Cisco Employee
Cisco Employee

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

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: