show diagnostics

show diagnostics {[cr] | slot [slot | A | B]}

On a stack:

show diagnostics {slot [slot_number]}

Description

Displays the status of the last diagnostic test run on the switch.

Syntax Description

slot Specifies which I/O or Fabric module to display diagnostic status information on.
Note: This parameter is available only on modular switches.
A | B Specifies which MSM/MM to display diagnostic status information on:A specifies the MSM installed in slot A.B specifies the MSM installed in slot B.
Note: This parameter is available only on modular switches.
slot_number Specifies the slot number of the node on which you need to run the diagnostics. Values can be from 1 to 8 or FM-1 to FM-4 (BDX8 only).
Note: This parameter is available only on modular switches.

Default

N/A.

Usage Guidelines

Use this command to display information from the last diagnostic test run on the switch.

To run diagnostics on a switch in a stack, you need to remove the node from the stacking mode, restart the node, and then run the diagnostics locally on the node. You can see the latest diagnostics results from the Master node of a stack after the node has rejoined the stack.

Output on BlackDiamond X8 Switches

If you have run diagnostics, a brief summary of the overall diagnostic test is displayed.

The switch displays the following diagnostic information:
  • Date the test was run-The month, date, and year.
  • Last Test Version-The ExtremeXOS version associated with the results.
  • Summary-A brief summary of the overall diagnostic test. Options are:
    • Diagnostics Pass-The diagnostic test has passed.
    • Diagnostics Fail-One or more diagnostic test has failed.
    • Diagnostics Interrupted-The diagnostic test was interrupted on the I/O or Fabric module or MM module.

If you have never run diagnostics on a specific slot, the switch displays a message similar to the following:

Slot-6: G8X
No Diagnostics Data

If you attempt to view diagnostics information for a slot that does not have a module installed, the switch displays a message similar to the following:

Slot-7: No Module Present

Output on the BlackDiamond 8800 Series Switches

The switch displays the following diagnostic information:

If you have run diagnostics, a brief summary of the overall diagnostic test is displayed. Options are:
  • Date the test was run—The month, date, and year.
  • Last Test Version—The ExtremeXOS version associated with the results.
  • Summary—A brief summary of the overall diagnostic test. Options are:
    • Diagnostics Pass—The diagnostic test has passed.
    • Diagnostics Fail—One or more diagnostic test has failed.
    • Diagnostics Interrupted—The diagnostic test was interrupted on the I/O module due to initiating an MSM failover.

If you have never run diagnostics on a specific slot, the switch displays a message similar to the following:

Slot-6: G8X
No Diagnostics Data

If you attempt to view diagnostics information for a slot that does not have a module installed, the switch displays a message similar to the following:

Slot-7: No Module Present

Output on the Summit Family Switches

The switch displays the following diagnostic information:

If you have run diagnostics, information includes the:
  • Date the test was run—The month, date, and year.
  • Last Test Version—The ExtremeXOS version associated with the results.
  • Test data—If the diagnostic test failed, the switch displays the name of the failed test. The switch displays a message similar to the following:MAC memory test failed
  • Summary—A brief summary of the overall diagnostic test. Options are:
    • Diagnostics Pass—The diagnostic test has passed.
    • Diagnostics Fail—One or more diagnostic tests have failed.

If you have never run diagnostics on the switch or stack ports, the switch displays a message similar to the following:

Result: FAIL
Test date run is invalid. Please run Diagnostics.
Error reading diagnostics information.

This message is normal and expected if you have never run diagnostics on the switch. After you run diagnostics, you should see information about the executed test.

Additional Guidelines Applicable to Modular Switches Only

If you use the show diagnostics {[cr] | slot [slot | A | B]} command on a slot where diagnostics have not been run, the switch displays messages similar to the following:

 No Diagnostics Data 

or

 Diagnostics never run 

If you try to display diagnostic test information on a slot where no module is installed, the switch displays messages similar to the following:

 No Module Present 

or

 No card in slot 

Running Diagnostics

To run diagnostics on an I/O module or an MSM installed in the BlackDiamond 8800 series switch, use the following command:

run diagnostics [extended | normal] {slot [slot | A | B]}

To run diagnostics on Summit family switches, use the following command:

run diagnostics [extended | normal | stack-port]

Depending on the software version running on your switch or your switch model, additional or different diagnostic information might be displayed. For more information, see the command run diagnostics .

Example

The following is sample output from a BlackDiamond X8 switch that displays the results of module diagnostics for the I/O module in slot 2:

BD-X8.5 # show diagnostics slot 2
Slot-2: BDXA-40G24X
Last Test Date: Tue Jan 24 15:09:54 2012
Last Test Version:        1.7
Summary: Diagnostics Pass

The following is sample output from a BlackDiamond 8800 series switch:

Slot-2: G24X
Last Test Date: Wed May  6 23:57:17 2009
Last Test Version:   12.3.0.1
Summary: Diagnostics Pass

When the version is unknown, Last Test Version reads “Unknown.”

The following is sample output from the BlackDiamond 12804 switch:

Slotnum 2
DiagResult timestamp Fri Dec  2 11:15:29 2005
Test Temperature = 41 degrees C
Diag Test Version=1.0.1.2.      S/N=05364-00058
------------------------------------------------------------------------
CPU System |  Passed
------------------------------------------------------------------------
Register Test |  Passed
------------------------------------------------------------------------
Memory Test |  Passed
------------------------------------------------------------------------
System Test |  Passed
------------------------------------------------------------------------
Summary: Diagnostics Pass

The following command displays the results of the switch diagnostics for the Summit family switch:

show diagnostics

The following is sample output from this command:

Last Test Date: May-04-2006
Last Test Version: 12.3.0.1
Summary: Diagnostics Pass

When the version is unknown, Last Test Version reads “Unknown.”

History

This command was available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.