Diagnostics running on the carrier, 1 accessing the diagnostics on the carrier, Diagnostics running on the carrier - 2 – Kontron AT8402 Diagnostics Manual User Manual
Page 10: Accessing the diagnostics on the carrier - 2, Diagnostics running on the carrier at8402

Diagnostics running on the Carrier
AT8402
Page 2 - 2
AT8402 CLI Reference Manual
2.
Diagnostics running on the Carrier
2.1
Accessing the diagnostics on the Carrier
The diagnostics framework can be accessed from the CLI on the Carrier. The CLI (see
“CLI reference manual” ) provides the command:
diagnostics [options]
to start the diagnostics.
There are some options, which allow to either choose a pre-configured scenario or to
use the interactive mode.
diagnostics interactive
diagnostics
diagnostics
diagnostics
diagnostics
If “interactive” is specified the switch will be restarted and the diagnostics loaded. The
user gets a menu to select interactively a scenario. This requires to be connected via a
serial console.
Otherwise, if a scenario is specified, this scenario is executed directly. You may start
this scenario once or repeated for a time (timedloop), for a number of repetitions (loop)
or forever. The results are stored and can be displayed by using “show logging diag-
report”. Possible scenarios are “full” (all test purposes except the destructive ones),
“quickturn” (scenarios running fast) or “write” (destructive scenarios).
Aftre having started diagnostics, you will first be asked to save unsaved changes in the
configuration. After having saved the changes, the system will ask to reset the system
The output looks like the following
(AT8402 Ethernet Fabric) #diagnostics interactive
The system has unsaved changes.
Would you like to save them now? (y/n) n
Configuration Not Saved!
Are you sure you would like to reset the system? (y/n) y
System will now restart!
After system restart the console screen will show some bootup informations and the
predefined test scenarios which can than be selected by typing the appropriate number.