The system does not generate reports in case of a reload.
During a process crash, the following is collected locally from the switch:
1. Full process core
2. Tracelogs
3. IOS syslogs (not guaranteed in case of non-active crashes)
4. System process information
5. Bootup logs
6. Reload logs
7. Certain types of /proc information
This information is stored in separate files which are then archived and compressed into one bundle. This
makes it convenient to get a crash snapshot in one place, and can be then moved off the box for analysis. This
report is generated before the switch goes down to rommon/bootloader.
Except for the full core and tracelogs, everything else is a text file.
Use the request platform software process core fed switch active command to generate the core dump.
Device# request platform software process core fed switch active
SUCCESS: Core file generated.
Device# dir bootflash:/core
Directory of bootflash:/core/
16430 -rw- 10941657 Apr 6 2022 00:15:20 +00:00
Switch_1_RP_0_fed_18469_20220406-001511-UTC.core.gz
16812 -rw- 1 Apr 6 2022 00:01:48 +00:00 .callhome
16810 drwx 4096 Jan 18 2022 21:10:35 +00:00 modules
Crashinfo Files
By default the system report file will be generated and saved into the /crashinfo directory. Ifit cannot be saved
to the crashinfo partition for lack of space, then it will be saved to the /flash directory.
To display the files, enter the dir crashinfo: command. The following is sample output of a crashinfo directory:
Device# dir crashinfo:
Directory of crashinfo:/
23665 drwx 86016 Jun 9 2017 07:47:51 -07:00 tracelogs
11 -rw- 0 May 26 2017 15:32:44 -07:00 koops.dat
12 -rw- 4782675 May 29 2017 15:47:16 -07:00 system-report_1_20170529-154715-PDT.tar.gz
1651507200 bytes total (1519386624 bytes free)
System reports are located in the crashinfo directory in the following format:
system-report_[switch number]_[date]-[timestamp]-UTC.gz
After a switch crashes, check for a system report file. The name of the most recently generated system report
file is stored in the last_systemreport file under the crashinfo directory. The system report and crashinfo files
assist TAC while troubleshooting the issue.
The system report generated can be further copied using TFTP, HTTP and few other options.
Device# copy crashinfo: ?
crashinfo: Copy to crashinfo: file system
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
319
Troubleshooting the Software Configuration
System Report