Perform this procedure before you restart the chassis.
terminal more disable
show tech
flight-recorder all {slot[-slot][,...]}
The all command executes three separate commands: flight-recorder snapshot, flight-recorder trace, and flight-recorder archive.
reset –y
reset –coredump –y
reset –coredump
Note
Create a core file only when there is a need to analyze a problem. If you reset the switch for any other reason the command is reset –y.
The following example shows output of the flight-recorder all 1 command.
Switch:1#flight-recorder all 1 Processing Flight-recorder snapshot for 1 .... Flight-recorder snapshot for slot 1 complete, filename is /intflash/PMEM/1/pmem. 20111019114431.1.bin.gz. Processing Flight-recorder trace for 1 .... Flight-recorder trace for slot 1 complete, filename is /intflash/flrec/1/trace.2 0111019114434.1.txt. Processing Flight-recorder archive for slot 1 .... Flight-recorder archive for slot 1 complete, filename is /intflash/archive/1/arc hive.20111019114446.1.tar.