|
|
Table Of Contents
Online Diagnostics Commands
Online diagnostics test the accessibility of the components on the Cisco ONS 15540 ESP. Use the following commands to configure and monitor online diagnostic operations.
diag online
To enable online diagnostics for the system, use the diag online command. To disable online diagnostics for the system, use the no form of this command.
diag online
no diag online
Syntax Description
This command has no other arguments or keywords.
Defaults
Disabled
Command Modes
Global configuration
Command History
This table includes the following release-specific history entries:
•
EY-Release
•
E-Release
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command to enable or disable online diagnostics for the system. Online diagnostics run in background mode or during OIR (online insertion and removal). Any slot level diagnostics previously configured with the diag online slot command or the diag online subslot command take precedence over the diag online command.
When online diagnostics are disabled, no further diagnostics can run.
Examples
The following example shows how to enable online diagnostics.
Switch#configure terminalSwitch(config)# diag onlineRelated Commands
diag online slot
To enable online diagnostics for a specified slot number, use the diag online slot command. To disable online diagnostics for a specified slot number, use the no form of this command.
diag online slot slot-number [timer seconds]
no diag online slot slot-number [timer seconds]
Syntax Description
Defaults
Disabled
The timer default is 60 seconds.
Command Modes
Global configuration
Command History
This table includes the following release-specific history entries:
•
EY-Release
•
E-Release
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command to enable or disable online diagnostics for a specified slot number. It can be useful to disable online diagnostics on a particular slot when there is a spurious error that causes excessive console messages.
Examples
The following example shows how to enable online diagnostics for a specific slot number.
Switch#configure terminalSwitch(config)# diag online subslot 2The following example shows how to enable online diagnostics on all the slots and then disable online diagnostics for a specific slot number.
Switch#configure terminalSwitch(config)# diag onlineSwitch(config)# no diag online subslot 10Related Commands
diag online subslot
To enable online diagnostics for a specified subslot number, use the diag online subslot command. To disable online diagnostics for a specific slot number, use the no form of this command.
diag online subslot slot/subcard [timer seconds]
no diag online subslot slot/subcard [timer seconds]
Syntax Description
Defaults
Disabled
The timer default is 60 seconds.
Command Modes
Global configuration
Command History
This table includes the following release-specific history entries:
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command to enable or disable online diagnostics for a specific subslot.
You can disable online diagnostics on a particular subslot when there is a spurious error that causes excessive console messages.
Examples
The following example shows how to enable online diagnostics for a specific slot number.
Switch#configure terminalSwitch(config)# diag online subslot 0/0The following example shows how to enable online diagnostics on all the slots and then disable online diagnostics for a specific slot number.
Switch#configure terminalSwitch(config)# diag onlineSwitch(config)# no diag online subslot 0/1Related Commands
show diag online
To display current online diagnostic test results, use the show diag online command. Information displayed includes the cards installed, their current status, and the status of online tests performed on the cards.
show diag online
Syntax Description
This command has no other arguments or keywords.
Defaults
None
Command Modes
EXEC and privileged EXEC
Command History
This table includes the following release-specific history entries:
•
EY-Release
•
E-Release
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command whenever a card is unavailable or is not coming up, to determine card status and the status of various background online tests performed on them.
Examples
The following example shows how to display online diagnostic test results for the hardware components. (See Table 4-1 for field descriptions.)
Switch# show diag onlineOnline Diagnostics Current Summary Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~On ACTIVE CPU card Slot: 6CPU Uptime: 21 hours, 52 minutesSlot CardType Enabled Bootup/ Periodic PreviousInsertion Background Failurestests tests~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~ ~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~0/*/* Mx-DMx-Mthrbd Yes Pass Pass No0/ 3/*Mx-DMx-8Mod-Plus1-W Yes Pass Pass No1/*/* Mx-DMx-Mthrbd Yes Pass Pass No1/ 3/*Mx-DMx-8Mod-Plus1-W Yes Pass Pass No6/*/* Queens CPU Yes Pass Pass No7/*/* Queens CPU Yes Pass Pass No10/*/* XpndrMotherboard Yes Pass Pass No10/ 0/* NPlugXpndrMonitor Yes Pass Pass No10/ 1/* NPlugXpndrMonitor Yes Pass Pass No10/ 2/* NPlugXpndrMonitor Yes Pass Pass No10/ 3/* NPlugXpndrMonitor Yes Pass Pass No
Related Commands
show diag online detail
To display the cards currently installed on the system and the detailed results of online diagnostic tests performed on them, use the show diag online detail command.
show diag online detail
Syntax Description
This command has no other arguments or keywords.
Defaults
None
Command Modes
EXEC and privileged EXEC
Command History
This table includes the following release-specific history entries:
•
EY-Release
•
E-Release
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command to display detailed status information about all the online diagnostic tests run on the hardware in the system. Information displayed includes the number of times background tests passed or failed, as well as the status of OIR tests.
Use this command to debug possible hardware problems on the cards or subcards installed.
Examples
The following example shows how to display current, detailed online diagnostics for the system. (See Table 4-2 for field descriptions.)
Switch# show diag online detailOnline Diagnostics Detailed Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~On ACTIVE CPU card Slot: 6CPU Uptime: 21 hours, 57 minutes___________________________________________________________________________Slot[0]:Mx-DMx-MthrbdEnabled: YesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~0/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes neveridpromAccess Pass0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes neverOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~0/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 57 neveridpromAccess Pass0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass21 hours, 57 never___________________________________________________________________________Slot[1]:Mx-DMx-MthrbdEnabled: YesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~1/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes neveridpromAccess Pass1/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes neverOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~1/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 57 neveridpromAccess Pass1/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass21 hours, 57 never___________________________________________________________________________Slot[6]:Queens CPUEnabled: YesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~6/*/* Queens CPU srcStatus Pass 0 minutes neverPCIAccess PassSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~PCMCIAAccess PassOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~6/*/* Queens CPU srcStatus Pass21 hours, 57 neverPCIAccess PassPCMCIAAccess Pass___________________________________________________________________________Slot[7]:Queens CPUEnabled: YesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~7/*/* Queens CPU srcStatus Pass 0 minutes neverPCIAccess PassPCMCIAAccess PassOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~7/*/* Queens CPU srcStatus Pass21 hours, 51 neverPCIAccess PassPCMCIAAccess Pass___________________________________________________________________________Slot[10]:XpndrMotherboardEnabled: YesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~10/*/* XpndrMotherboard lrcAccess Pass 0 minutes neveridpromAccess Pass10/ 0/* NPlugXpndrMonitor scAccess Pass 0 minutes neveridpromAcces Pass10/ 1/* NPlugXpndrMonitor scAccess Pass 0 minutes neveridpromAcces Pass10/ 2/* NPlugXpndrMonitor scAccess Pass 0 minutes neveridpromAcces Pass10/ 3/* NPlugXpndrMonitor scAccess Pass 0 minutes neveridpromAcces PassOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~10/*/* XpndrMotherboard lrcAccess Pass21 hours, 57 neveridpromAccess PassSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~10/ 0/* NPlugXpndrMonitor scAccess Pass21 hours, 57 neveridpromAcces Pass10/ 1/* NPlugXpndrMonitor scAccess Pass21 hours, 57 neveridpromAcces Pass10/ 2/* NPlugXpndrMonitor scAccess Pass21 hours, 57 neveridpromAcces Pass10/ 3/* NPlugXpndrMonitor scAccess Pass21 hours, 57 neveridpromAcces Pass
Related Commands
show diag online slot
To display the results of online diagnostic tests performed on a card in a specific slot, use the show diag online slot command.
show diag online slot slot-number
Syntax Description
Defaults
None
Command Modes
EXEC and privileged EXEC
Command History
This table includes the following release-specific history entries:
•
EY-Release
•
E-Release
•
EV-Release
•
SV-Release
•
S-Release
Usage Guidelines
Use this command to display the status of online diagnostics performed on components installed in a specific slot.
Examples
The following example shows how to display the results of online diagnostic tests performed on slot 0. (See Table 4-3 for field descriptions.)
Switch# show diag online slot 0Online Diagnostics Information Per Slot~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Slot[0]:Mx-DMx-MthrbdEnabled: YesCPU Uptime: 21 hours, 59 minutesOnline Insertion TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~0/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes neveridpromAccess Pass0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes neverOnline Background TestsSlot CardType TestType Status LastRunTime LastFailTime~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~0/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 58 neveridpromAccess Pass0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass21 hours, 58 never
Related Commands
Posted: Sun Feb 19 15:09:13 PST 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.