Table Of Contents
Field Diagnostics for the
Cisco 12000 Series Internet RouterSupported Standards, MIBs, and RFCs
Upgrading the FPGA Image on a Line Card
Field Diagnostics for the
Cisco 12000 Series Internet Router
Feature History
The command line interface for the field diagnostics for the Cisco 12000 Series Internet Routers is described in the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
Field diagnostics are available for the Cisco 12000 Series Internet Router to help you isolate faulty hardware to the level of a field-replaceable unit (FRU). To run field diagnostics, the slot being tested is taken offline, while the rest of the cards in the chassis continue to operate normally. After you identify the faulty unit, you can replace it with a spare unit.
Field diagnostics are not designed to identify specific components within the router. They simply determine whether a particular card is operational or defective.
Starting with IOS 12.0(22)S, Cisco Systems has unbundled the Cisco 12000 Series Internet Router field diagnostics line card image from the IOS image. In earlier versions, diagnostics could be launched from the command line and the embedded image would be launched. To accommodate customers with 20-MB Flash memory cards, line card field diagnostics are now stored and maintained as a separate image that must be available on a Flash memory card or a TFTP boot server before the field diagnostics commands can be used. Router processor and switch fabric field diagnostics continue to be bundled and need not be launched from a separate image. Note that the clock and scheduler card (CSC1) of the appropriate Cisco 12000 Series Internet Router (the default master) must be active in order to run the router processor or switch fabric field diagnostics.
Benefits
The modified field diagnostics offer the following benefits:
In-Service Testing
Field diagnostics can be run on an in-service router running Cisco IOS and only take the card being tested out of service. The tested card is returned to normal operation if the diagnostic tests pass. If there is a hardware fault, the card remains out of service after the testing is completed.
Smaller IOS Image
To accommodate customers with 20-MB Flash memory cards, the line card field diagnostics are stored and maintained as a separate image that must be available on a Flash memory card or a TFTP boot server.
Easy Access to Most Current Diagnostics Software
Since the field diagnostics software is now maintained as a separate image, the most recent version is always available on Cisco.com, without regard to the Cisco IOS software version currently in use.
Related Documents
For more information on Cisco 12000 Series Internet Routers, refer to the installation and configuration guide for your router.
Supported Platforms
The modified field diagnostics commands are supported on all Cisco 12000 Series Internet Routers.
Availability of Cisco IOS Software Images
Platform support for particular Cisco IOS software releases is dependent on the availability of the software images for those platforms. Software images for some platforms may be deferred, delayed, or changed without prior notice. For updated information about platform support and availability of software images for each Cisco IOS software release, refer to the online release notes.
Supported Standards, MIBs, and RFCs
None.
Prerequisites
Before you can use the line card field diagnostics commands, you must place a valid diagnostics image on a separate Flash memory card installed in the Cisco 12000 Series Internet Router to be tested or on a TFTP boot server.
The diagnostics image is named c12k-fdiagsbflc-mz.120-25.S and is always available on Cisco.com. 120-25.S is the version number of the image that corresponds to the Cisco IOS image, in this example: 12.0(25)S.
CautionAll Cisco Systems field diagnostics images available on Cisco.com are backwards compatible with any Cisco IOS 12.0(22)S software release and onward. Cisco strongly recommends always using the latest available field diagnostics image from Cisco.com for testing and verifying line cards.
Configuration Tasks
Upgrading the FPGA Image on a Line Card
If a line card does not boot and you receive an error message indicating that there is a problem with the field-programmable gate array (FPGA) image, or if the line card alphanumeric LED display remains frozen in IOS STRT state, you need to upgrade the FPGA image using the diag command.
Note
When the Cisco IOS image boots, it verifies that a compatible FPGA image is running on the router. The major version number of the FPGA image must be the same as that expected by the Cisco IOS image; the minor version number on the FPGA image must be the same as or greater than the minor version number expected by the Cisco IOS image. For example, if the Cisco IOS image expects a minimum FPGA image of 03.02, the software will verify that the actual major version number of the FPGA image in the line card bootflash is 03, and that the minor version number is 02 or above.
To upgrade the FPGA image on a line card, follow these steps:
Command Reference
This section documents the new diag command. All other commands used with this feature are documented in the Cisco IOS Master Command List publications.
diag
To perform field diagnostics on a line card, Route Processor card (RP), including both the Performance Route Processor (PRP) and Gigabit Route Processor (GRP), Switch Fabric Card (SFC), or Clock Scheduler Card (CSC) in Cisco 12000 Series Internet Routers, use the diag command in privileged EXEC configuration mode. To halt a running field diagnostic session on a line card or RP, use the diag halt form of this command.
Cisco 12000 Series Internet Router Line Cards
diag slot-number source {tftp | flash} source-path [verbose] [wait] [full] [coe]
[dl-timeout-plus <1-2000>] [ind-test-timeout-plus <seconds>] [test-timeout-plus <seconds>] [device <device_id>] [messaging <value>]diag slot-number previous
diag slot-number halt
diag slot-number update-fpga source {tftp | flash} source-path [dl-timeout-plus <1-2000>]
Cisco 12000 Series Internet Router RPs
diag slot-number [verbose] [wait] [full] [coe] [messaging <value>]
diag slot-number previous
diag slot-number halt
Cisco 12008, Cisco 12012, and Cisco 12016 SFCs and CSCs
diag slot-number [verbose]
Syntax Description
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Before you can use the line card field diagnostics commands, you must place a valid diagnostics image on a separate Flash memory card installed in the Cisco 12000 Series Internet Router to be tested or on a TFTP boot server. The diagnostics image is named c12k-fdiagsbflc-mz.120-25.S (where 120-25.S is the version number corresponding to Cisco IOS release 12.0(25)S) and is always available on Cisco.com.
RP, SFC, and CSC field diagnostics are embedded within the IOS image and thus do not require an external image.
Field diagnostics cannot be run on the PRP-2 unless you are using Cisco IOS release 12.0(30)S or higher.
Note
While testing the line cards, it is required that all the interfaces running on all the line cards must be disconnected to avoid risk having false failures or dignostics traffice being leaked out of the interface.
The diagnostics software prompts you for confirmation before altering the router configuration. For example, running diagnostics on an SFC or CSC will cause the fabric to go from full bandwidth to one-quarter bandwidth. Bandwidth is not affected by RP or line card diagnostics.
Perform diagnostics on the CSC only if a redundant CSC is in the router. Diagnostics can be performed on redundant RPs only. Currently SFC and CSC testing is not available for Cisco 12400 Series Internet Routers.
CautionPerforming field diagnostics on a line card stops all activity on the line card. Before the diag command begins running diagnostics, you are prompted to confirm the request to perform field diagnostics on the line card.
Note
Perform field diagnostics only on one slot at a time. Do not perform field diagnostics on multiple slots at the same time. Running on multiple slots at the same time can lead to false test failures.
In normal mode, if a test fails, the title of the failed test is displayed on the console. However, not all tests that are performed are displayed. To view all performed tests, use the verbose keyword.
After all diagnostic tests are completed on the line card, a PASSED or TEST FAILURE message is displayed. If the line card sends a PASSED message, the Cisco IOS software image on the line card is automatically reloaded unless the wait keyword is specified. If the line card sends a TEST FAILURE message, the Cisco IOS software image on the line card is not automatically reloaded.
If you want to reload the line card after it fails diagnostic testing, use the microcode reload slot global configuration command or hw-module reload command.
Note
When you stop the field diagnostic test using the diag halt command, the line card remains down (in other words, in an unbooted state). Generally, you would stop testing in order to remove or replace the line card. If this is not the case, and you need to bring the line card back up (online), use the microcode reload global configuration command or power cycle the line card.
If the line card fails the test, the line card is defective and should be replaced. Under certain circumstances, TAC engineers may direct you to replace field-replaceable memory modules and retest. This should ONLY be done under the guidance of a TAC engineer. For example, if the DRAM test failed, a customer might only need to replace the DRAM on the line card.
For more information, refer to the appropriate Cisco 12000 Series Internet Router installation and configuration guide.
Examples
The following example shows the output when field diagnostics are performed on the line card in slot 5. After the line card passes all field diagnostic tests, the Cisco IOS software is automatically reloaded on the card. Before starting the diagnostic tests, you must confirm the request to perform these tests on the line card because all activity on the line card is halted. The total/indiv. timeout set to 5400/780 sec. message indicates that 5400 seconds are allowed to perform all field diagnostics tests, and that no single test should exceed 780 seconds to complete.
f-diag-5-6# diag 5 source tftp tftp://223.255.254.254/image/c12k-fdiagsbflc-mz.120-32.S9Running DIAG config checkFabric Download for Field Diags chosen: If timeout occurs, try 'mbus' option.Runnning Diags will halt ALL activity on the requested slot.[confirm]yf-diag-5-6#Launching a Field Diagnostic for slot 5*Feb 26 03:27:48.999: %F_DIAG-5-FDIAG_START: Field diags starting on slot 5*Feb 26 03:27:48.999: %F_DIAG-5-FDIAG_DL_START: Field diags downloading to slot 5 via the fabric.Loading image/c12k-fdiagsbflc-mz.120-32.S9 from 223.255.254.254 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!....................[OK - 21454616 bytes]FD 5> *****************************************************FD 5> GSR IOS Field Diagnostics v7.11.0.0-LCFD 5>FD 5> Compiled by jrr on Mon Mar 24 09:36:01 PDT 2008FD 5>FD 5> gsr view: REL-FDIAGSFD 5> Frozen-Time: 07-Mar-2008.13:52:53UTC-08:00FD 5> spa view: REL-FDIAGS_SPAFD 5> Frozen-Time: 06-Mar-2008.19:23:38UTC-08:00FD 5> ids version: ids3_rel_2.7FD 5> *****************************************************Executing all diagnostic tests in slot 5(total/indiv. timeout set to 5400/780 sec.)FD 5> BFR_CARD_TYPE_1P_GE foundFD 5> Available test types 0x2FD 5> 0x1FD 5> Completed f_diags_board_discovery() (0x2)FD 5> Test list selection received: Test ID 1, Device 0FD 5> Reminder, CLI option "device": uses 0 for all, 1 for SIP, 2 for bay 0, 3 for bay 1, etc.FD 5> running in slot 5 (72 tests from test list ID 1)FD 5> Just into idle state*Feb 26 03:29:07.859: %F_DIAG-5-FDIAG_DL_DONE: Field diags download completed on slot 5. Status: DL done.FD 5> 3.3V 5V MBUS 5V Hot Sensor Inlet SensorFD 5> (mv) (mv) (mv) (deg C) (deg C)FD 5> 3272 5016 5040 30.5 28.0FD 5> Displaying Environmental informationFD 5> 3.3V 5V MBUS 5V Hot Sensor Inlet SensorFD 5> (mv) (mv) (mv) (deg C) (deg C)FD 5> 3272 5016 5048 30.5 28.0FD 5>FD 5> Displaying Test Result SummaryFD 5>FD 5> Passed Failed SkippedFD 5> ------ ------ -------FD 5> Main Card 72 0 0FD 5>Field Diagnostic ****PASSED**** for slot 5Shutting down diags in slot 5Board will reload*Feb 26 03:32:44.975: %F_DIAG-5-FDIAG_DONE: Field diags completed for slot 5SLOT 5:00:00:09: %SYS-5-RESTART: System restarted --Cisco Internetwork Operating System SoftwareIOS (tm) GS Software (GLC1-LC-M), Experimental Version 12.0(20080325:174412) [jrr-v120_32_s_throttle 114]Copyright (c) 1986-2008 by cisco Systems, Inc.Compiled Wed 26-Mar-08 14:07 by jrrThe following example shows the output of a line card test with the verbose option specified (highly recommended).
f-diag-9-11# diag 4 verbose source tftp tftp://223.255.254.254/image/c12k-fdiagsbflc-mz.120-32.S9Running DIAG config checkFabric Download for Field Diags chosen: If timeout occurs, try 'mbus' option.Verbose mode: Test progress and errors will be displayedRunnning Diags will halt ALL activity on the requested slot.[confirm]f-diag-9-11#Launching a Field Diagnostic for slot 401:20:34: %F_DIAG-5-FDIAG_START: Field diags starting on slot 401:20:34: %F_DIAG-5-FDIAG_DL_START: Field diags downloading to slot 4 via the fabric.01:20:34: %SPA_OIR-6-OFFLINECARD: SPA (SPA-8XOC12-POS) offline in subslot 4/001:20:34: %SPA_OIR-6-OFFLINECARD: SPA (SPA-8XOC3-POS) offline in subslot 4/1Loading image/c12k-fdiagsbflc-mz.120-32.S9 from 223.255.254.254 (via Ethernet0): !!!!!!....[OK - 21453920 bytes]FD 4> *****************************************************FD 4> GSR IOS Field Diagnostics v7.12.0.0-LCFD 4>FD 4> Compiled by jrr on Mon Apr 14 12:27:13 PDT 2008FD 4>FD 4> gsr view: REL-FDIAGS_IOSFD 4> Frozen-Time: 11-Apr-2008.01:57:03UTC-07:00FD 4> spa view: REL-FDIAGS_IOS_SPAFD 4> Frozen-Time: 08-Apr-2008.23:38:52UTC-07:00FD 4> ids version: ids3_rel_2.7FD 4> *****************************************************FD 4> CSC Type:0x90, Full Fabric Mask:0x7f, Primary CSC:CSC_1(0x2), Fia Config:0x7Executing all diagnostic tests in slot 4(total/indiv. timeout set to 5400/780 sec.)fFD 4> Scanning SPA Bays ...01:22:10: %F_DIAG-5-FDIAG_DL_DONE: Field diags download completed on slot 4. Status: DL done.FD 4> BFR_CARD_TYPE_E192_CEC_V2 foundFD 4> Spa0 (0x404) 8xOC12 (Gladiator) found...FD 4> Spa1 (0x505) 8xOC3 (Gladiator) found...FD 4> Spa2 (0x0) empty skipping...FD 4> Spa3 (0x0) empty skipping...FD 4> Available test types 0x2FD 4> 0x1FD 4> Completed f_diags_board_discovery() (0x39)FD 4> Verbosity now (0x00000211) TESTSDISP FATL IDSPRINTFFD 4> Test list selection received: Test ID 1, Device 0FD 4> Reminder, CLI option "device": uses 0 for all, 1 for SIP, 2 for bay 0, 3 for bay 1, etc.FD 4> running in slot 4 (159 tests from test list ID 1)FDIAG_STAT_IN_PROGRESS(4): test #1 R5K Internal CacheFDIAG_STAT_IN_PROGRESS(4): test #2 Burst OperationsFDIAG_STAT_IN_PROGRESS(4): test #3 Subblock OrderingFDIAG_STAT_IN_PROGRESS(4): test #4 P4/EEPROM Clock Speed MatchingFDIAG_STAT_IN_PROGRESS(4): test #5 Dram DatapinsFDIAG_STAT_IN_PROGRESS(4): test #6 WATERWOLF RegistersFDIAG_STAT_IN_PROGRESS(4): test #7 Waterwolf InterruptFDIAG_STAT_IN_PROGRESS(4): test #8 STINGRAY to WATERWOLF Command ParityFDIAG_STAT_IN_PROGRESS(4): test #9 STINGRAY to WATERWOLF Data ParityFDIAG_STAT_IN_PROGRESS(4): test #10 RX WAHOO to WATERWOLF Head/Tail Ready ParityFDIAG_STAT_IN_PROGRESS(4): test #11 Sockeye Asic RegistersFDIAG_STAT_IN_PROGRESS(4): test #12 Salsa Dram AccessFDIAG_STAT_IN_PROGRESS(4): test #13 Salsa P4 TimeoutFDIAG_STAT_IN_PROGRESS(4): test #14 Salsa Asic General Purpose CounterFDIAG_STAT_IN_PROGRESS(4): test #15 Picante Asic Real Time InterruptFDIAG_STAT_IN_PROGRESS(4): test #16 Salsa ErrorsFDIAG_STAT_IN_PROGRESS(4): test #17 Salsa Dram Read Around WriteFDIAG_STAT_IN_PROGRESS(4): test #18 Salsa Prefetch/Write BuffersFDIAG_STAT_IN_PROGRESS(4): test #19 SALSA Asic Write BuffersFDIAG_STAT_IN_PROGRESS(4): test #20 Sockeye To Piranha Fcram Read Around WriteFDIAG_STAT_IN_PROGRESS(4): test #21 Sockeye to Stingray Fcram Read Around WriteFDIAG_STAT_IN_PROGRESS(4): test #22 Fishstick RegistersFDIAG_STAT_IN_PROGRESS(4): test #23 Superfish RegistersFDIAG_STAT_IN_PROGRESS(4): test #24 Superfish TFIA Internal Cell FIFO MemtestFDIAG_STAT_IN_PROGRESS(4): test #25 Superfish TFIA To FFIA Packet TestFDIAG_STAT_IN_PROGRESS(4): test #26 Superfish TFIA To FFIA Fabric Packet TestFDIAG_STAT_IN_PROGRESS(4): test #27 RX WAHOO Asic Registers TestFDIAG_STAT_IN_PROGRESS(4): test #28 RX WAHOO Forwarding TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #29 RX WAHOO Netflow TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #30 RX WAHOO Classification TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #31 RX NFTCAM Masks Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #32 RX NFTCAM Value Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #33 RX CTCAM Masks Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #34 RX CTCAM Value Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #35 RX WAHOO CTC SRAM DatapinsFDIAG_STAT_IN_PROGRESS(4): test #36 RX WAHOO FTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #37 RX WAHOO FTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #38 RX WAHOO FTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #39 RX WAHOO NFTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #40 RX WAHOO NFTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #41 RX WAHOO NFTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #42 RX WAHOO CTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #43 RX WAHOO CTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #44 RX WAHOO CTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #45 RX WAHOO FTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #46 RX WAHOO FTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #47 RX WAHOO NFTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #48 RX WAHOO NFTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #49 RX WAHOO CTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #50 RX WAHOO CTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #51 RX WAHOO CTC SRAM MarchFDIAG_STAT_IN_PROGRESS(4): test #52 RX WAHOO CBSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #53 RX WAHOO CBSRAM DatapinsFDIAG_STAT_IN_PROGRESS(4): test #54 RX WAHOO CTC parityFDIAG_STAT_IN_PROGRESS(4): test #55 RX WAHOO FCRAM/RLDRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #56 RX WAHOO FCRAM/RLDRAM Indirect AccessFDIAG_STAT_IN_PROGRESS(4): test #57 RX WAHOO FCRAM/RLDRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #58 RX WAHOO FSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #59 RX WAHOO CSSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #60 RX WAHOO NSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #61 RX WAHOO FSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #62 RX WAHOO CSSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #63 RX WAHOO NSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #64 RX WAHOO Tune Bits TestFDIAG_STAT_IN_PROGRESS(4): test #65 PLIM to RX WAHOO Command ParityFDIAG_STAT_IN_PROGRESS(4): test #66 PLIM to RX WAHOO Data ParityFDIAG_STAT_IN_PROGRESS(4): test #67 TX WAHOO Asic Registers TestFDIAG_STAT_IN_PROGRESS(4): test #68 TX WAHOO Forwarding TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #69 TX WAHOO Netflow TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #70 TX WAHOO Classification TCAM RegistersFDIAG_STAT_IN_PROGRESS(4): test #71 TX FTCAM Masks Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #72 TX FTCAM Value Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #73 TX NFTCAM Masks Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #74 TX NFTCAM Value Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #75 TX CTCAM Masks Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #76 TX CTCAM Value Cell DatapinsFDIAG_STAT_IN_PROGRESS(4): test #77 TX WAHOO CTC SRAM DatapinsFDIAG_STAT_IN_PROGRESS(4): test #78 TX WAHOO FTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #79 TX WAHOO FTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #80 TX WAHOO FTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #81 TX WAHOO NFTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #82 TX WAHOO NFTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #83 TX WAHOO NFTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #84 TX WAHOO CTCAM 72 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #85 TX WAHOO CTCAM 144 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #86 TX WAHOO CTCAM 288 bit lookupFDIAG_STAT_IN_PROGRESS(4): test #87 TX WAHOO FTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #88 TX WAHOO FTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #89 TX WAHOO NFTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #90 TX WAHOO NFTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #91 TX WAHOO CTCAM Masks Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #92 TX WAHOO CTCAM Value Cell MarchFDIAG_STAT_IN_PROGRESS(4): test #93 TX WAHOO CTC SRAM MarchFDIAG_STAT_IN_PROGRESS(4): test #94 TX WAHOO CBSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #95 TX WAHOO CBSRAM DatapinsFDIAG_STAT_IN_PROGRESS(4): test #96 TX WAHOO CTC parityFDIAG_STAT_IN_PROGRESS(4): test #97 TX WAHOO FCRAM/RLDRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #98 TX WAHOO FCRAM/RLDRAM Indirect AccessFDIAG_STAT_IN_PROGRESS(4): test #99 TX WAHOO FCRAM/RLDRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #100 TX WAHOO FSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #101 TX WAHOO CSSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #102 TX WAHOO NSRAM Datapins TestFDIAG_STAT_IN_PROGRESS(4): test #103 TX WAHOO FSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #104 TX WAHOO CSSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #105 TX WAHOO NSRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #106 SUPERFISH to TX WAHOO Cmd ParityFDIAG_STAT_IN_PROGRESS(4): test #107 SUPERFISH to TX WAHOO Data ParityFDIAG_STAT_IN_PROGRESS(4): test #108 TX WAHOO Tune Bits TestFDIAG_STAT_IN_PROGRESS(4): test #109 PIRANHA RegistersFDIAG_STAT_IN_PROGRESS(4): test #110 RX WAHOO to PIRANHA Command ParityFDIAG_STAT_IN_PROGRESS(4): test #111 RX WAHOO to PIRANHA Data ParityFDIAG_STAT_IN_PROGRESS(4): test #112 PIRANHA DDR_|| SRAM BusfloatFDIAG_STAT_IN_PROGRESS(4): test #113 PIRANHA DDR SRAM ECC SINGLE BITFDIAG_STAT_IN_PROGRESS(4): test #114 PIRANHA DDR SRAM ECC MULTI BITFDIAG_STAT_IN_PROGRESS(4): test #115 PIRANHA DDR SRAM ECC TOGGLE BITFDIAG_STAT_IN_PROGRESS(4): test #116 PIRANHA FCRAM 2 DatapinsFDIAG_STAT_IN_PROGRESS(4): test #117 PIRANHA FCRAM ECC SINGLE BITFDIAG_STAT_IN_PROGRESS(4): test #118 PIRANHA FCRAM ECC MULTI BITFDIAG_STAT_IN_PROGRESS(4): test #119 PIRANHA FCRAM ECC TOGGLE BITFDIAG_STAT_IN_PROGRESS(4): test #120 STINGRAY RegistersFDIAG_STAT_IN_PROGRESS(4): test #121 STINGRAY DDR_|| SRAM Marching PatternFDIAG_STAT_IN_PROGRESS(4): test #122 STINGRAY DDR_|| SRAM BusfloatFDIAG_STAT_IN_PROGRESS(4): test #123 STINGRAY DDR_|| SRAM Datapins MemoryFDIAG_STAT_IN_PROGRESS(4): test #124 TX WAHOO to STINGRAY Command ParityFDIAG_STAT_IN_PROGRESS(4): test #125 TX WAHOO to STINGRAY Data ParityFDIAG_STAT_IN_PROGRESS(4): test #126 PLIM to STINGRAY Command ParityFDIAG_STAT_IN_PROGRESS(4): test #127 STINGRAY FCRAM ECC SINGLE BITFDIAG_STAT_IN_PROGRESS(4): test #128 STINGRAY FCRAM ECC MULTI BITFDIAG_STAT_IN_PROGRESS(4): test #129 STINGRAY FCRAM ECC TOGGLE BITFDIAG_STAT_IN_PROGRESS(4): test #130 STINGRAY QDR SRAM ECC SINGLE BITFDIAG_STAT_IN_PROGRESS(4): test #131 STINGRAY QDR SRAM ECC MULTI BITFDIAG_STAT_IN_PROGRESS(4): test #132 STINGRAY QDR SRAM ECC TOGGLE BITFDIAG_STAT_IN_PROGRESS(4): test #133 DUMP Sram March TestFDIAG_STAT_IN_PROGRESS(4): test #134 EE192 ZL30000 Register TestFDIAG_STAT_IN_PROGRESS(4): test #135 PIRANHA to SUPERFISH - UNICAST HiPri PacketFDIAG_STAT_IN_PROGRESS(4): test #136 PIRANHA to STINGRAY Packet - Superfish Fabric loopbackFDIAG_STAT_IN_PROGRESS(4): test #137 STINGRAY to SOCKEYE PacketFDIAG_STAT_IN_PROGRESS(4): test #138 bay-0: FPGA Register TestFDIAG_STAT_IN_PROGRESS(4): test #139 bay-0: FPGA Version TestFDIAG_STAT_IN_PROGRESS(4): test #140 bay-0: Arsenal Register TestFDIAG_STAT_IN_PROGRESS(4): test #141 bay-0: Gladiator IDPROM TestFDIAG_STAT_IN_PROGRESS(4): test #142 bay-0: Gladiator Temp-Sensor TestFDIAG_STAT_IN_PROGRESS(4): test #143 bay-0: SPA Interrupt TestFDIAG_STAT_IN_PROGRESS(4): test #144 bay-0: SPA Quack testFDIAG_STAT_IN_PROGRESS(4): test #145 bay-0: SFP IDPROM TestFDIAG_STAT_IN_PROGRESS(4): test #146 bay-0: DDTC TestFDIAG_STAT_IN_PROGRESS(4): test #147 bay-0: POS DCC TestFDIAG_STAT_IN_PROGRESS(4): test #148 bay-0: SPA LPBK gladFDIAG_STAT_IN_PROGRESS(4): test #149 bay-1: FPGA Register TestFDIAG_STAT_IN_PROGRESS(4): test #150 bay-1: FPGA Version TestFDIAG_STAT_IN_PROGRESS(4): test #151 bay-1: Arsenal Register TestFDIAG_STAT_IN_PROGRESS(4): test #152 bay-1: Gladiator IDPROM TestFDIAG_STAT_IN_PROGRESS(4): test #153 bay-1: Gladiator Temp-Sensor TestFDIAG_STAT_IN_PROGRESS(4): test #154 bay-1: SPA Interrupt TestFDIAG_STAT_IN_PROGRESS(4): test #155 bay-1: SPA Quack testFDIAG_STAT_IN_PROGRESS(4): test #156 bay-1: SFP IDPROM TestFDIAG_STAT_IN_PROGRESS(4): test #157 bay-1: DDTC TestFDIAG_STAT_IN_PROGRESS(4): test #158 bay-1: POS DCC TestFDIAG_STAT_IN_PROGRESS(4): test #159 bay-1: SPA LPBK gladFD 4> Displaying Environmental informationFD 4> Main Card: 12V 3.3V 2.5V 1.25V 1.8V 1.5V 0.75V 1.5V(PLL)FD 4> Slot # (mv) (mv) (mv) (mv) (mv) (mv) (mv) (mv)FD 4> 4 11999 03300 02499 01250 01799 01501 00750 01500FD 4> 1.3V(CPU) 1.2V1 1.2V2 1.1V(T1) 1.1V(T2) 1.1V(T3)FD 4> (mv) (mv) (mv) (mv) (mv) (mv)FD 4> 01301 01199 01201 01100 01100 01100FD 4> Dght Card: 12V 3.3V 3.3V(SNT) 2.5V 1.25V 1.8V 1.5V .75VFD 4> Slot # (mv) (mv) (mv) (mv) (mv) (mv) (mv) (mv)FD 4> 4 12006 03302 03300 02499 01251 01798 01499 00750FD 4> 1.5V(PLL) 1.5V(WW) 1.2V1 1.2V2 1.1V(T1) 1.1V(T2) 1.1V(T3)FD 4> (mv) (mv) (mv) (mv) (mv) (mv) (mv)FD 4> 01500 01500 01199 01199 01100 01100 01099FD 4> Temperature Inlet HotFD 4> Sensors (deg. C) (deg.C)FD 4> 35 45FDIAG_STAT_DONE(4)FD 4>FD 4> Displaying Test Result SummaryFD 4>FD 4> Passed Failed SkippedFD 4> ------ ------ -------FD 4> Main Card 137 0 0FD 4> bay 0 11 0 0FD 4> bay 1 11 0 0FD 4> bay 2 EmptyFD 4> bay 3 EmptyFD 4>FD 4> Changed current_status to FDIAG_STAT_IDLEField Diagnostic ****PASSED**** for slot 4Field Diag eeprom values: run 204 fail mode 0 (PASS) slot 4last test failed was 0, error code 0Shutting down diags in slot 4Board will reload01:55:24: %F_DIAG-5-FDIAG_DONE: Field diags completed for slot 4SLOT 4:00:01:19: %SYS-5-RESTART: System restarted --Cisco Internetwork Operating System SoftwareIOS (tm) GS Software (GLC1-LC-M), Experimental Version 12.0(20080610:161456) [jrr-v120_32_sy_throttle 103]Copyright (c) 1986-2008 by cisco Systems, Inc.Compiled Tue 10-Jun-08 10:42 by jrrSLOT 4:00:01:19: Setting LEDs01:57:48: %SPA_OIR-6-ONLINECARD: SPA (SPA-8XOC12-POS) online in subslot 4/001:57:48: %SPA_OIR-6-ONLINECARD: SPA (SPA-8XOC3-POS) online in subslot 4/1Following is an example of a test FAILURE condition on a GRP card. This card would need to be replaced and returned to Cisco for repair:
Field Diag download COMPLETE for slot 7FD 3> *****************************************************FD 3> GSR Field Diagnostics V6.01FD 3> Compiled by award on Tue Apr 9 07:22:53 PDT 2002FD 3> view: award-conn_isp.f_diag_newFD 3> *****************************************************Diagnostics have been downloaded to slot 7Executing all diagnostic tests in slot 7(total/indiv. timeout set to 2000/600 sec.)FD 3> BFRP w/ECC testing...FD 3> Secondary Discovery found ID 2FD 3> BFR_CARD_TYPE_BFRP_CARD w/ ECC testing...FD 3> Available test types 2FD 3> 1FD 3> Completed f_diags_board_discovery() (0x1)FD 3> Verbosity now (0x00000011) TESTSDISP FATLFD 3> Test list selection received: Test ID 1, Device 0FD 3> running in slot 7 (24 tests from test list ID 1)FDIAG_STAT_IN_PROGRESS(3): test #1 BFRP Dram Datapins TestFDIAG_STAT_IN_PROGRESS(3): test #2 Dram Marching Pattern TestFDIAG_STAT_IN_PROGRESS(3): test #3 DataPins_SramFDIAG_STAT_IN_PROGRESS(3): test #4 March_SramFDIAG_STAT_IN_PROGRESS(3): test #5 High Memory DRAM Marching PatternFDIAG_STAT_IN_PROGRESS(3): test #6 diags_csar_regtestFDIAG_STAT_IN_PROGRESS(3): test #7 diags_test_p4_csar_intFDIAG_STAT_IN_PROGRESS(3): test #8 NVRAM Memory TestFD 3> 32 bit data compare error. Wrote 0xcccccccc, read back 0xcc41cccc at location 0xbe03fff0FDIAG_STAT_DONE_FAIL(3) test_num 8, error_code 1COMPLETED Field Diags: pid 128, status 5, test_num 8, error_code 1Field Diagnostic: ****TEST FAILURE**** slot 7: first test failed: 8,NVRAM Memory Test, error 1Field Diag results from eeprom before updating slot 7, run# 0x5000042 were 0x0previous field diag eeprom values: run 66 fail mode 5 (DOWNLOAD FAILURE)last test failed was 0, error code 0Field Diag eeprom values: run 67 fail mode 1 (TEST FAILURE) slot 7last test failed was 8, error code 1Shutting down diags in slot 7slot 7 done, will not reload automaticallyThe following example shows the previous test results of a line card. Diagnostics had been run 64 times on this line card. Because the board PASSED the last field diagnostics session, the fail mode was 0 as was the last test that failed.
Router # diag 7 prevField Diag eeprom values: run 64 fail mode 0 (PASS) slot 7last test failed was 0, error code 0The following example shows the output of a line card test with the update-fpga option specified.
Router# diag 7 verbose source tftp tftp://223.255.254.254/c12k-fdiagsbflc-mz.120-25.S update-fpgaRunning DIAG config checkFabric Download for Field Diags chosen: If timeout occurs, try 'mbus' option.Verbose mode: Test progress and errors will be displayedUUT will update FPGA's flashRunnning Diags will halt ALL activity on the requested slot. [confirm]Router#PID of f_diag_run is 121, set test_pid[3]gdb slot is 0Launching a Field Diagnostic for slot 7Loading c12k-fdiagsbflc-mz.new_fpga from 223.255.254.254 (via Ethernet0):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!Calling enable_slot_and_type_on_fabric(DISABLE) for slot 7Calling enable_slot_and_type_on_fabric(ENABLE) for slot 7FD 3> *****************************************************FD 3> GSR Field Diagnostics V6.9FD 3> Compiled by ckhuong on Fri Jan 17 15:51:36 PST 2003FD 3> view: ckhuong-conn_isp.inti4FD 3> *****************************************************Diagnostics have been downloaded to slot 7Executing all diagnostic tests in slot 7(total/indiv. timeout set to 2000/600 sec.)FD 3> BFR_CARD_TYPE_4P_GE_E48 testing...FD 3> Available test types 2FD 3> 1FD 3> 3FD 3> 11FD 3> Completed f_diags_board_discovery() (0x32)FD 3> Verbosity now (0x00000011) TESTSDISP FATLFD 3> Test list selection received: Test ID 3, Device 0FD 3> running in slot 7 (1 tests from test list ID 3)FD 3> Just into idle stateFDIAG_STAT_IN_PROGRESS(3): test #1 Tetra Flash Mem UpgradingFD 3> Upgraded FPGA image in Flash from version 0xcc53 to 0xcc54Calling enable_slot_and_type_on_fabric(DISABLE) for slot 7Calling enable_slot_and_type_on_fabric(ENABLE) for slot 7FDIAG_STAT_DONE(3)FD 3> Changed current_status to FDIAG_STAT_IDLECOMPLETED Field Diags: pid 121, status 6, test_num 1, error_code 0Field Diagnostic ****PASSED**** for slot 7Field Diag results from eeprom before updating slot 7, run# 0x10 were 0x0previous field diag eeprom values: run 16 fail mode 0 (PASS)last test failed was 0, error code 0Field Diag eeprom values: run 17 fail mode 0 (PASS) slot 7last test failed was 0, error code 0Shutting down diags in slot 7Board will reloadRouter#Related Commands
Command Descriptionmicrocode reload
Reloads the Cisco IOS image on a line card on the Cisco 12000 Series Internet Routers after all microcode configuration commands have been entered.
Third Party Notices
Cisco diagnostics image uses bzip2 software by Julian Seward, the license is provided below:
This program, "bzip2", the associated library "libbzip2", and all documentation, are copyright (C) 1996-2006 Julian R Seward. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Julian Seward, Cambridge, UK.
jseward@bzip.org
bzip2/libbzip2 version 1.0.4 of 20 December 2006


