S-Series Debugging and Diagnostics | 35314S-Series Debugging and DiagnosticsThe chapter contains the following major sections:• Offline diagnostics• Trace logs• Last restart reason• show hardware commands• Environmental monitoring• Buffer tuning• Troubleshooting packet loss• Application core dumps• Mini core dumps• TCP dumpsOffline diagnosticsThe offline diagnostics test suite is useful for isolating faults and debugging hardware.The diagnostics testsare grouped into three levels:• Level 0—Level 0 diagnostics check for the presence of various components and perform essential pathverifications. In addition, they verify the identification registers of the components on the board.• Level 1—A smaller set of diagnostic tests. Level 1 diagnostics perform status/self-test for all thecomponents on the board and test their registers for appropriate values. In addition, they performextensive tests on memory devices (e.g., SDRAM, flash, NVRAM, EEPROM) wherever possible.• Level 2—The full set of diagnostic tests. Level 2 diagnostics are used primarily for on-board loopbacktests and more extensive component diagnostics. Various components on the board are put intoloopback mode, and test packets are transmitted through those components. These diagnostics alsoperform snake tests using VLAN configurations.