12-14-2022 10:08 AM
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)
12-14-2022 11:54 AM
Hi,
Try copying from flash to a TFTP server:
copy flash2:crashinfo_ext tftp: <tftp ip address or URL>
HTH
12-14-2022 02:34 PM
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)
12-14-2022 05:57 PM - edited 12-14-2022 07:26 PM
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>
12-14-2022 06:20 PM
Thanks Leo, but what is the actual command I need to type?
12-14-2022 07:27 PM
dir flash2:crashinfo_x
12-15-2022 07:59 AM
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)
12-15-2022 01:53 PM
Post the complete output to the following command:
dir flash2:crashinfo_x
12-19-2022 12:50 PM
Sorry, I still do not understand. I need to know the complete command I need to type in.
12-19-2022 01:41 PM
this worked:
copy flash:crashinfo_ext/crashinfo_ext_1 tftp
12-19-2022 01:44 PM
thanks a lot for sharing config.
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