show selftest

Syntax

show selftest [brief | detail] [vsx-peer]

show selftest {line-module | fabric-module} [<SLOT-ID>] [brief | detail] [vsx-peer]

show selftest line-module <SLOT-ID> interface [brief | detail] [vsx-peer]

show selftest interface [<PORT-NUM>] [vsx-peer]

Description

Displays selftest results.

Command context

Manager (#)

Parameters

[brief | detail]
Shows the selftest results as a brief description (default) or a detailed description.
{line-module | fabric-module}
Shows the selftest results from either a line-module or a fabric module.
line-module

Shows the selftest results for a line module.

fabric-module

Shows the selftest results for a fabric module.

<SLOT-ID>
Shows the selftest results for the slot ID of the line or fabric module.
<PORT-NUM>
Shows the selftest results for the port number.
[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Displaying the output when fastboot is disabled:

switch# show selftest
Name       Id   Status         ErrorCode  LastRunTime
---------- ---- -------------- ---------- -------------------
LineModule 1/1  passed         0x0       2016-10-15 10:10:09
LineModule 1/2  failed         0x09      2016-10-15 10:10:56
Fabric 1/1      passed         0x0       2016-10-15 10:10:09
Fabric 1/2      failed         0x1E      2016-10-15 10:10:56

switch# show selftest line-module
Name       Id   Status         ErrorCode LastRunTime
---------- ---- -------------- --------- -------------------
LineModule 1/1  passed         0x0       2016-10-15 10:10:09
LineModule 1/2  failed         0x09      2016-10-15 10:10:56

switch# show selftest fabric-module
Name   Id       Status         ErrorCode LastRunTime
------ -------- -------------- --------- -------------------
Fabric 1/1      passed         0x0       2016-10-15 10:10:09
Fabric 1/2      failed         0x1E      2016-10-15 10:10:56

switch# show selftest fabric-module 1/2
Name   Id       Status         ErrorCode LastRunTime
------ -------- -------------- --------- -------------------
Fabric 1/2      failed         0x11      2016-10-15 10:10:56

switch# show selftest line-module 1/10
Name       Id   Status         ErrorCode LastRunTime
---------- ---- -------------- --------- -------------------
LineModule 1/10 failed         0x1A      2016-10-15 10:10:56

switch# show selftest interface 1/2/2
Name    Status         ErrorCode LastRunTime
------- -------------- --------- -------------------
1/2/2   passed         0x0       2016-11-19 05:10:11

switch# show selftest line-module 1/3 interface
Name    Status         ErrorCode LastRunTime
------- -------------- --------- -------------------
1/3/1   passed         0x0       2016-11-19 05:10:11
1/3/2   passed         0x0       2016-11-19 05:10:11
1/3/3   passed         0x0       2016-11-19 05:10:11
1/3/31  failed         0x20      2016-11-19 05:10:11

switch# show selftest line-module 1/1 detail

switch# show selftest line-module 1/2 interface detail

Displaying the output when fastboot is enabled:

switch# show selftest
Name       Id   Status         ErrorCode  LastRunTime
---------- ---- -------------- ---------- -------------------
LineModule 1/1  skipped        0x0
LineModule 1/2  skipped        0x0
Fabric     1/1  skipped        0x0
Fabric     1/2  skipped        0x0
Fabric     1/3  skipped        0x0

switch# show selftest line-module
Name       Id   Status         ErrorCode LastRunTime
---------- ---- -------------- --------- -------------------
LineModule 1/1  skipped        0x0
LineModule 1/2  skipped        0x0

switch# show selftest fabric-module
Name       Id   Status         ErrorCode  LastRunTime
---------- ---- -------------- ---------- -------------------
Fabric     1/1  skipped        0x0
Fabric     1/2  skipped        0x0
Fabric     1/3  skipped        0x0

switch# show selftest fabric-module 1/2
Name   Id       Status         ErrorCode LastRunTime
------ -------- -------------- --------- -------------------
Fabric 1/2      skipped        0x0

switch# show selftest line-module 1/10
Name       Id   Status         ErrorCode LastRunTime
---------- ---- -------------- --------- -------------------
LineModule 1/10 skipped        0x0

switch# show selftest interface 1/2/2
Name    Status         ErrorCode LastRunTime
------- -------------- --------- -------------------
1/2/2   skipped        0x0

switch# show selftest line-module 1/3 interface
Name    Status         ErrorCode LastRunTime
------- -------------- --------- -------------------
1/3/1   skipped        0x0
1/3/2   skipped        0x0
1/3/3   skipped        0x0
1/3/31  skipped        0x0

switch# show selftest line-module 1/1 detail
(28 Jan 17 15:03:14.148129842): Selftest has started for module 1/1
(28 Jan 17 15:03:29.160823140): Selftest has completed for module 1/1

switch# show selftest line-module 1/2 interface detail
(28 Jan 17 15:03:18.148129842): Selftest has started for interface 1/2/3
(28 Jan 17 15:03:10.660823140): Selftest has failed for interface 1/2/3 with error code:0x0000000B