Collecting Data Before You Restart

Perform this procedure before you restart the chassis.

Procedure

  1. Capture the current state of the chassis:

    terminal more disable

    show tech

  2. Capture Flight Recorder trace information.

    flight-recorder all {slot[-slot][,...]}

    The all command executes three separate commands: flight-recorder snapshot, flight-recorder trace, and flight-recorder archive.

    For VSP 8600 Series, you can replace {slot[-slot][,...]} with all to create a snapshot for all slots.

  3. Reset the chassis:
    1. Reset the chassis without creating a core file.

      reset –y

    2. For VSP 8600 Series, create a core file of the primary Control Processor (CP):

      sys action cpu-switch-over –coredump

    3. For VSP 8600 Series, create a core file for a particular module:

      slot reset {<1–8> |SF1 | SF2 | SF3} –coredump

    4. For all other VOSS platforms, create an ssio core file and a cbcp-main.x core file, skip the confirmation question, and then reset the chassis.

      reset –coredump –y

    5. Create an ssio core file and a cbcp-main.x core file, prompt for the confirmation question, and then reset the chassis.

      reset –coredump

      Note

      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.

  4. Continue with Collecting data after you restart.

Example

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.