diag on-demand
Syntax
diag on-demand {fan-tray | line-module | management-module} [<SLOT-ID>]
For 6400 switches only:
diag on-demand {fabric <SLOT-ID>}
Description
Runs the diagnostic tests for all modules or for a specified module.
Command context
Manager (#
)
Parameters
[fan-tray | line-module | management-module]
Selects the options for enabling or disabling runtime diagnostics for a specific module.
fan-tray
Specifies the enabling of diagnostic monitoring specific to a fan tray.
line-module
Specifies the enabling of diagnostic monitoring specific to a line module.
management-module
Specifies the enabling of diagnostic monitoring specific to a management module.
<SLOT-ID>
Specifies the member/slot for management modules (1/1 or 1/2), line modules (1/3-1/7, 1/8-1/12), fan trays (1/1-1/3), and fabric modules (1/1-1/2) on a 6400 switch.
Specifies the member/slot for management modules (1/1), line modules (1/1), and fan trays (1/1-1/2) on a 6300 switch.
Authority
Administrators or local user group members with execution rights for this command.
Usage
When no parameters are used in the command (diag on-demand
), the command applies to all modules.
Examples
Running diagnostic tests for all modules on a 6300 switch:
switch# diag on-demand Fetching Test results. Please wait ... Module ID Diagnostics Success Performed -------------------- ----- ----------- ------- FanTray 1/2 1 100% FanTray 1/1 1 100% LineModule 1/1 13 100% ManagementModule 1/1 13 100%
Running diagnostic tests for a specific module on a 6300 switch:
switch# diag on-demand management-module 1/1 Performing diagnostic tests. Please wait ... Fetching Test results. Please wait ... Module ID Diagnostics Success Performed -------------------- ----- ----------- ------- ManagementModule 1/1 13 100%
Running diagnostic tests for all modules on a 6400 switch:
switch# diag on-demand Fetching Test results. Please wait ... Module ID Diagnostics Success Performed -------------------- ----- ----------- ------- FanTray 1/2 2 100% LineModule 1/3 24 100% ManagementModule 1/1 19 100% LineModule 1/7 12 100% Fabric 1/1 6 100% LineModule 1/5 24 100% LineModule 1/4 24 100% FanTray 1/1 2 100% LineModule 1/6 24 100%
Running diagnostic tests for a specific module on a 6400 switch:
switch# diag on-demand management-module Performing diagnostic tests. Please wait ... Fetching Test results. Please wait ... Module ID Diagnostics Success Performed -------------------- ----- ----------- ------- ManagementModule 1/1 19 100%