cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
42856
Views
40
Helpful
6
Replies

ASA show tech-support output to file.

ajay_dand
Level 1
Level 1

Hi,

I've been trying to direct the output of the "show tech" command to a file on FTP server. The FTP server has been properly setup. However, I keep getting repeated errors. Could someone please help me with the correct syntax of the command? Also I would like to know, if it is possible to direct this output as an HTML file?

Thanks.

Ajay Dand

6 Replies 6

grant.maynard
Level 4
Level 4

The usual way is to log the output of your telnet or ssh client to a text file, and type "show tech".

It will be a text file and doesn't do fancy formatting.

Well, the "show tech" command on the ASA does have and ftp: and flash: keyword. Its just that I am unable to get the correct syntax. I've worked with that on the IPS 4240, and the HTML output format _really_ makes life easier for troubleshooting. However the command is entered differently on IPS, and using similar syntax doesn't seem to be working with ASA.

Ajay.

andrew.burns
Level 7
Level 7

Hi,

Assuming your ftp server supports anonymous logins and write access for the destination then the following works for me:

show tech-support file ftp://1.2.3.4/tech.txt

HTH - plz rate if it does

Andrew.

if you use

show tech file ftp://<ftpusername>:<ftppassword>@1.2.3.4/tech.txt it works for authenticated.

eltoncalixto21
Level 1
Level 1

Hey bro, try this
show tech file ftp://user:pass@1.1.1.1/name.txt

I recommend FileZila server, you start the server, creat username, password and set direcroty to save archives...

johnlloyd_13
Level 9
Level 9

hi,

are you able to FTP using the files currently in its flash/disk0? try to do a test FTP first and use a small file (log file or ASDM).

can you just capture the output using your terminal emulator client?

Review Cisco Networking for a $25 gift card