|
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 online
Related 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 2
The 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 online
Switch(config)# no diag online subslot 10
Related 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/0
The 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 online
Switch(config)# no diag online subslot 0/1
Related 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 online
Online Diagnostics Current Summary Information
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On ACTIVE CPU card Slot: 6
CPU Uptime: 21 hours, 52 minutes
Slot CardType Enabled Bootup/ Periodic Previous
Insertion Background Failures
tests tests
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~ ~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~
0/*/* Mx-DMx-Mthrbd Yes Pass Pass No
0/ 3/*Mx-DMx-8Mod-Plus1-W Yes Pass Pass No
1/*/* Mx-DMx-Mthrbd Yes Pass Pass No
1/ 3/*Mx-DMx-8Mod-Plus1-W Yes Pass Pass No
6/*/* Queens CPU Yes Pass Pass No
7/*/* Queens CPU Yes Pass Pass No
10/*/* XpndrMotherboard Yes Pass Pass No
10/ 0/* NPlugXpndrMonitor Yes Pass Pass No
10/ 1/* NPlugXpndrMonitor Yes Pass Pass No
10/ 2/* NPlugXpndrMonitor Yes Pass Pass No
10/ 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 detail
Online Diagnostics Detailed Information
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On ACTIVE CPU card Slot: 6
CPU Uptime: 21 hours, 57 minutes
___________________________________________________________________________
Slot[0]:Mx-DMx-Mthrbd
Enabled: Yes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
0/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes never
idpromAccess Pass
0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes never
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
0/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 57 never
idpromAccess Pass
0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass21 hours, 57 never
___________________________________________________________________________
Slot[1]:Mx-DMx-Mthrbd
Enabled: Yes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
1/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes never
idpromAccess Pass
1/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes never
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
1/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 57 never
idpromAccess Pass
1/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass21 hours, 57 never
___________________________________________________________________________
Slot[6]:Queens CPU
Enabled: Yes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
6/*/* Queens CPU srcStatus Pass 0 minutes never
PCIAccess Pass
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
PCMCIAAccess Pass
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
6/*/* Queens CPU srcStatus Pass21 hours, 57 never
PCIAccess Pass
PCMCIAAccess Pass
___________________________________________________________________________
Slot[7]:Queens CPU
Enabled: Yes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
7/*/* Queens CPU srcStatus Pass 0 minutes never
PCIAccess Pass
PCMCIAAccess Pass
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
7/*/* Queens CPU srcStatus Pass21 hours, 51 never
PCIAccess Pass
PCMCIAAccess Pass
___________________________________________________________________________
Slot[10]:XpndrMotherboard
Enabled: Yes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
10/*/* XpndrMotherboard lrcAccess Pass 0 minutes never
idpromAccess Pass
10/ 0/* NPlugXpndrMonitor scAccess Pass 0 minutes never
idpromAcces Pass
10/ 1/* NPlugXpndrMonitor scAccess Pass 0 minutes never
idpromAcces Pass
10/ 2/* NPlugXpndrMonitor scAccess Pass 0 minutes never
idpromAcces Pass
10/ 3/* NPlugXpndrMonitor scAccess Pass 0 minutes never
idpromAcces Pass
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
10/*/* XpndrMotherboard lrcAccess Pass21 hours, 57 never
idpromAccess Pass
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
10/ 0/* NPlugXpndrMonitor scAccess Pass21 hours, 57 never
idpromAcces Pass
10/ 1/* NPlugXpndrMonitor scAccess Pass21 hours, 57 never
idpromAcces Pass
10/ 2/* NPlugXpndrMonitor scAccess Pass21 hours, 57 never
idpromAcces Pass
10/ 3/* NPlugXpndrMonitor scAccess Pass21 hours, 57 never
idpromAcces 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 0
Online Diagnostics Information Per Slot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Slot[0]:Mx-DMx-Mthrbd
Enabled: Yes
CPU Uptime: 21 hours, 59 minutes
Online Insertion Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
0/*/* Mx-DMx-Mthrbd lrcAccess Pass 0 minutes never
idpromAccess Pass
0/ 3/* Mx-DMx-8Mod-Plus1- idpromAcces Pass 0 minutes never
Online Background Tests
Slot CardType TestType Status LastRunTime LastFailTime
~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~
0/*/* Mx-DMx-Mthrbd lrcAccess Pass21 hours, 58 never
idpromAccess Pass
0/ 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.