Deployment Guide
diag stack-unit
Run oine diagnostics on a stack unit.
Syntax
diag stack-unit number {alllevels | level0 | level1 | level2 [verbose no-
reboot]| terminate| interactive test <id>}
Parameters
number Enter the stack-unit number. The range is from 0 to 5.
alllevels Enter the keyword alllevels to run the complete set of oine 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 verications. In addition, they
verify the identication 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, ash,
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
congurations. 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.
no-reboot Enter the keyword no-reboot to avoid automatic rebooting of the chassis after
completion of diagnostic execution. Generally, this option is never used because if you run
the diagnostic once again without rebooting the chassis, it may cause an issue with the
diagnostic results..
terminate Enter the keyword terminate to stop the execution of the level diag that is already
started using the diag stack-unit command. Once this CLI is issued, syslogs indicating the
termination of the diag test is displayed. The diag results for the executed tests are stored
in the ash directory (TestReport-SU-X.txt).
interactive Enter the keyword interactive to run some individual diag tests such as
POWERLEDTEST, STATUSLEDTEST and so on. The help option under the interactive
command displays the list of tests that can be run.
Defaults none
Command Modes EXEC Privilege
Supported Modes All Modes
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
Debugging and Diagnostics 431