Users Guide
Offline Diagnostic Commands
The offline diagnostics test suite is useful for isolating faults and debugging hardware. While tests are running, Dell Networking OS results
are saved as a text file (TestReport-SU-X.txt) in the flash directory. This show file command is available only on master and standby.
Important Points to Remember
• Offline diagnostics can only be run when the unit is offline.
• You can only run offline diagnostics on a unit to which you are connected via the console. In other words, you cannot run diagnostics
on a unit to which you are connected to via a stacking link.
• The system stores the diagnostic results in the flash directory (TestReport-SU-X.txt). The system displays the following message
after the diagnostic test is over.
05:37:17 : Diagnostic test results are stored on file: flash:/TestReport-SU-1.txt
05:37:22: %S3048-ON:1 %DIAGAGT-6-DA_DIAG_DONE: Diags finished on stack-unit 1
• Diagnostics only test connectivity, not the entire data path.
diag stack-unit
Run offline diagnostics on a stack unit.
Syntax
diag stack-unit number [alllevels | level0 | level1 | level2] verbose [testname
| no-reboot]
Parameters
number
Enter the stack-unit id.
alllevels Enter the keyword alllevels to run the complete set of offline diagnostic tests.
level0 Enter the keyword level0 to run Level 0 diagnostics. Level 0 diagnostics check for the
presence of various components and perform essential path verifications. In addition, they
verify the identification registers of the components on the board.
level1 Enter the keyword Level1 to run Level 1 diagnostics. Level 1 diagnostics is a smaller set
of diagnostic tests with support for automatic partitioning. They perform status/self test
for all the components on the board and test their registers for appropriate values. In
addition, they perform extensive tests on memory devices (for example, SDRAM, flash,
NVRAM, EEPROM, and CPLD) wherever possible. There are no tests on 10G links. At this
level, stack ports are shut down automatically.
level2 Enter the keyword level2 to run Level 2 diagnostics. Level 2 diagnostics are a full set of
diagnostic tests with no support for automatic partitioning. Level 2 diagnostics are used
primarily for on-board loopback tests and more extensive component diagnostics. Various
components on the board are put into Loopback mode and test packets are transmitted
through those components. These diagnostics also perform snake tests using VLAN
configurations. To test 10G links, physically remove the unit from the stack.
verbose Enter the keyword verbose to run the diagnostic in Verbose mode. Verbose mode gives
more information in the output than Standard mode.
testname Enter the keyword testname to run a specific test case. Enclose the test case name in
double quotes (“ “). For example: diag stack-unit 1 level1 testname
“first”. You can use this option only for interactive tests.
no-reboot Enter the keyword no-reboot to prevent the system from rebooting after the test. To
bring the stack unit to online state, use the online stack-unit stack-unit-
number command.
Defaults None
Command Modes EXEC Privilege
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell Networking
OS Command Line Reference Guide.
426 Debugging and Diagnostics