
CISCO-BOOT-HWDIAGS-MIB
File:
CISCO-BOOT-HWDIAGS-MIB.mib (13194 bytes)
Imported modules
Imported symbols
Defined Objects
| ciscoBootHwDiagsMIB |
1.3.6.1.4.1.9.9.696 |
| This MIB is used to configure those devices that support boot-time hardware diagnostics. It provides the reports about the respective diagnostic tests executed by the devices as well. Boot-time diagnostics are run after the ROMMON has transferred control to the start code of IOS and before any IOS subsystem has started. Such diagnostics may or may not include those that are destructive to the operation of IOS or communications links that are serviced by IOS and, as such, must be run before IOS has completed booting and before any subsystem has started. During boot-up from either power-on or a reload, and before IOS starts, a loop of all such diagnostics is executed according to the following flow: bank = current_bank for index = 1 to number of diagnostics { if diag[index] is configured AND armed for bank { call diagnostic_function[index]; store results in memory = structure.bank.index; } After all the IOS subsystems have started, one can use either the CLI or this MIB to query the status of the diagnostic tests for each bank. The diagnostic tests are tabulated on the CLI as follows. Information for Hardware Diagnostics Bank 0 (Current bank = 0) Last Boot Next Boot - Diagnostic Ran? Pass/Failed? Configured? Armed? EDAC test YES PASSED YES NO EEPROM test YES PASSED YES NO FPGA(s) test YES FAILED YES NO FPGA Diags: FPGA1:F, FPGA2-REG:P, FPGA2-SRAM:P, FPGA3:F In the table above, there are 3 diagnostic_function categories: EDAC, EEPROM, and FPGA(s). The FPGA category has 4 subtests one associated with FPGA1, two with FPGA2, and one with FPGA3. The MIB shall be used to configure the diagnostic tests to be run on each bank and read the results of the same. The selection of a particular bank to run the tests is hardware- dependent. GLOSSARY CLI - Command Line Interface diags - abbreviation for diagnostics EDAC - Error Detection and Correction EEPROM - Electrically Eraseable Programmable Read-Only Memory FPGA - Field Programmable Gate Array IOS - Internet Operating System MIB - Management Information Base NVRAM - Non-volatile Random Access Memory SRAM - Static Random Access Memory |
| MODULE-IDENTITY |
|
|
|
| ciscoBootHwDiagsMIBTestTable |
1.3.6.1.4.1.9.9.696.1.2 |
| This table gives the list of possible diagnostic test 'categories' that may be configured, armed, and run for each bank. The categories are the same for all banks. In the CLI example given above, the categories are: EDAC test, EEPROM test, and FGPA(s) test. |
| OBJECT-TYPE |
|
|
|
| |
SEQUENCE OF |
|
|
| |
|
CiscoBootHwDiagsMIBTestEntry |
|
| ciscoBootHwDiagsMIBTestEntry |
1.3.6.1.4.1.9.9.696.1.2.1 |
| Each entry represents a row in ciscoBootHwDiagsMIBTestTable and corresponds to the information about the various categories of diagnostic tests. |
| OBJECT-TYPE |
|
|
|
| |
CiscoBootHwDiagsMIBTestEntry |
|
|
| ciscoBootHwDiagsMIBEntry |
1.3.6.1.4.1.9.9.696.1.3.1 |
| Each entry represents a row in ciscoBootHwDiagsMIBTable and corresponds to the information about the diagnostic tests for a particular bank. |
| OBJECT-TYPE |
|
|
|
| |
CiscoBootHwDiagsMIBEntry |
|
|
| ciscoBootHwDiagsMIBLastBootExecuted |
1.3.6.1.4.1.9.9.696.1.3.1.2 |
| This object represents the execution status of the test. A value of 'true' indicates that the test has been executed on the most recent boot of the device. A value of 'false' indicates that the test has not been executed. |
| OBJECT-TYPE |
|
|
|
| |
TruthValue |
|
|
| ciscoBootHwDiagsMIBLastBootPassed |
1.3.6.1.4.1.9.9.696.1.3.1.3 |
| This object represents the result of the test on the most recent boot of the device. A value of 'true' indicates that the test passed. A value of 'false' indicates that the test failed. |
| OBJECT-TYPE |
|
|
|
| |
TruthValue |
|
|
| ciscoBootHwDiagsMIBConfigCode |
1.3.6.1.4.1.9.9.696.1.3.1.6 |
| This object provides additional optional detailed configuration options (sub-tests configurations) for a diagnostics test category. The decoding of this unsigned 32-bit integer is platform-specific and allows for many platform-specific configurations. For the CLI example above, a ciscoBootHwDiagsMIBConfigCode for the FPGA(s) test category will cause all FPGA tests to be disabled, whereas, a ciscoBootHwDiagsMIBConfigCode of 1 will enable FPGA1 test. A ciscoBootHwDiagsMIBConfigCode of 3 will enable FPGA1 AND FPGA2-subtest1, and so forth (since there is only one test for FPGA1, but two tests for FPGA2). Hence the encoding is platform dependent and flexible. |
| OBJECT-TYPE |
|
|
|
| |
Unsigned32 |
|
|
| ciscoBootHwDiagsMIBResultCode |
1.3.6.1.4.1.9.9.696.1.3.1.7 |
| This object represents a return code that may be mapped to detailed testresults in an analogous way to how the ciscoBootHwDiagsMIBConfigCode is mapped to configurations. That is, for the CLI example above, a ciscoBootHwDiagsMIBResultCode of F (hex) indicates that all FPGA tests passed. A ciscoBootHwDiagsMIBResultCode of 1 (hex), indicates that ONLY FPGA1 test passed. A ciscoBootHwDiagsMIBResultCode of 3 (hex) indicates that only FPGA1 AND FPGA2-subtest1 passed, and so forth (since there is only one test for FPGA1, but two tests for FPGA2). Hence the encoding is platform dependent and flexible. |
| OBJECT-TYPE |
|
|
|
| |
Unsigned32 |
|
|
| ciscoBootHwDiagsMIBMainObjectGroup |
1.3.6.1.4.1.9.9.696.2.2.1 |
| This group represents the information about the banks and the diagnostic tests run on them. |
| OBJECT-GROUP |
|
|
|
Defined Objects
| CiscoBootHwDiagsMIBTestEntry |
|
| SEQUENCE |
|
|
|
| |
Unsigned32 as ciscoBootHwDiagsMIBTestIndex |
|
|
| |
DisplayString as ciscoBootHwDiagsMIBTestName |
|
|
| CiscoBootHwDiagsMIBEntry |
|
| SEQUENCE |
|
|
|
| |
Unsigned32 as ciscoBootHwDiagsMIBBankIndex |
|
|
| |
TruthValue as ciscoBootHwDiagsMIBLastBootExecuted |
|
|
| |
TruthValue as ciscoBootHwDiagsMIBLastBootPassed |
|
|
| |
TruthValue as ciscoBootHwDiagsMIBNextBootConfigured |
|
|
| |
TruthValue as ciscoBootHwDiagsMIBNextBootArmed |
|
|
| |
Unsigned32 as ciscoBootHwDiagsMIBConfigCode |
|
|
| |
Unsigned32 as ciscoBootHwDiagsMIBResultCode |
|
|