Reference Guide
Debugging and Diagnostics | 345
• offline stack-unit
• online stack- unit
diag stack-unit
s z
Run offline diagnostics on a stack unit.
Syntax
diag stack-unit number [alllevels | level0 | level1 | level2 | interactive | terminate] verbose no-reboot
Parameters
Defaults
None
Command Modes
EXEC Privilege
Command History
S6000
number
Enter the stack-unit number.
Unit ID range:
S4810: 0-11
Z9000: 0-7
S6000: 0-5
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 (e.g., 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 is a full set of
diagnostic tests with no support for automatic partitioning. Level 2 diagnostics are used
primarily for on-board loop back tests and more extensive component diagnostics. Various
components on the board are put into loop back mode, and test packets are transmitted through
those components. These diagnostics also perform snake tests using VLAN configurations. You
must physically remove the unit from the stack to test 10G links.
Interactive
Enter the keyword interactive to run interactive diags.Interactive diags are primarily used for
standalone tests.
The result for the interactive test cases will not have PASS/FAIL information since it will check
the functionality of component by manual intervention.
Terminate
The process is terminated.
Verbose
Enter the keyword verbose to run the diagnostic in verbose mode. Verbose mode gives more
information in the output than standard mode.
No-Reboot
To avoid reboot after running the diagnostics tests.
Version 9.0.2.0 Introduced on S6000
Version 8.3.11.1 Introduced on Z9000
Version 8.3.11.5 Introduced on S-Series










