cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1627
Views
5
Helpful
10
Replies

How to retrieve crashinfo to tftp server

 

Hello,

What are the commands I can use to copy the crashinfo_ext file to my tftp server?

I need to find out why the stack member rebooted for no apparent reason.

Thank you.

 

2960X-STK-01#dir flash2:
Directory of flash2:/

2 -rwx 111827 Dec 14 2022 12:25:05 -05:00 config.text
3 -rwx 1914 Dec 14 2022 12:25:06 -05:00 private-config.text
4 -rwx 111539 Dec 14 2022 12:25:02 -05:00 config.text.backup
5 -rwx 1914 Dec 14 2022 12:25:05 -05:00 private-config.text.backup
6 -rwx 1156 Dec 13 2022 18:29:28 -05:00 vlan.dat
7 drwx 512 Dec 13 2022 18:24:53 -05:00 crashinfo_ext
9 drwx 512 Sep 5 2017 14:37:52 -04:00 c2960x-universalk9-mz.152-2.E6
674 drwx 512 Sep 5 2017 14:37:57 -04:00 dc_profile_dir
676 -rwx 2072 Dec 13 2022 16:54:37 -05:00 multiple-fs

122185728 bytes total (94433280 bytes free)

10 Replies 10

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Try copying from flash to a TFTP server:

copy flash2:crashinfo_ext tftp: <tftp ip address or URL>

HTH

Thanks but that didnt help.

STK-01#copy flash2:crashinfo_ext tftp
Address or name of remote host []? 10.10.1.50
Destination filename [crashinfo_ext]?
%Error reading flash2:crashinfo_ext (Is a directory)

Cannot "copy" a sub-directory.  

Drill down into the sub-directory and choose which file to copy:  

 

copy flash2:crashinfo_x/filename.txt tftp://<TFTP IP ADDRESS>

 

Thanks Leo, but what is the actual command I need to type?

dir flash2:crashinfo_x

STK-01#copy flash2:crashinfo_ext/crashinfo_ext tftp
Address or name of remote host []? 10.100.1.241
Destination filename [crashinfo_ext]?
%Error opening flash2:crashinfo_ext/crashinfo_ext (Bad file number)
STK-01#copy flash2:crashinfo_x/crashinfo_ext tftp
Address or name of remote host []? 10.100.1.241
Destination filename [crashinfo_ext]?
%Error opening flash2:crashinfo_x/crashinfo_ext (Bad file number)

Post the complete output to the following command: 

dir flash2:crashinfo_x

open24hrs
Level 1
Level 1

Sorry, I still do not understand. I need to know the complete command I need to type in.

open24hrs
Level 1
Level 1

this worked:

copy flash:crashinfo_ext/crashinfo_ext_1 tftp

thanks a lot for sharing config.

Review Cisco Networking for a $25 gift card