cc/td/doc/product/software/ios120/120newft/120t
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Resource Pool Management Hardware Diagnostics on the Cisco 7200 Series Router

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Configuration Examples

Debug Commands

Resource Pool Management Hardware Diagnostics on the Cisco 7200 Series Router

This feature module was incomplete at print time. As soon as all information is complete, this document will be updated.

Feature Overview

This feature module describes the porting of Resource Pool Management (RPM) hardware diagnostics from a diagnostics flash card to IOS.

Benefits

You can now run RPM diagnostics at start up, from the command line, or from the Scheduler.

Related Features and Technologies

Related Documents

Supported Platforms

Cisco 7200

Supported Standards, MIBs, and RFCs

Standards

No new or modified standards are supported by this feature.

MIBs

No new or modified MIBs are supported by this feature.

RFCs

No new or modified RFCs are supported by this feature.

Configuration Tasks

None

Configuration Examples

None

Debug Commands

This section documents new debug commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0T command reference publications.

debug rpm hwdiags all

To display debug messages for all scheduled and unscheduled RPM hardware diagnostics, use the debug rpm hwdiags all EXEC command. To stop debugging RPM diagnostics, use the no form of this command.

[no] debug rpm hwdiags all {unsched | sched}

Syntax Description

unsched

Unschedules all RPM Boot Hardware Diagnostics.

sched

Schedules all RPM Boot Hardware Diagnostics.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

router# debug rpm hwdiags all unsched

Cache L1/L2 Read Miss - NOT SCHEDULED
Cache L1/L2 Write Miss - NOT SCHEDULED
Cache L1 Read Miss, L2 Read Hit - NOT SCHEDULED
Cache L1 Write Miss, L2 Read Hit - NOT SCHEDULED
Cache 2-Way Set - NOT SCHEDULED
Cache L2 Size - NOT SCHEDULED
Cache L1 Tag - NOT SCHEDULED
Memory Bus Float 32 - NOT SCHEDULED
Memory Marching Pattern - NOT SCHEDULED
R4K Memory Access - NOT SCHEDULED
 

router# debug rpm hwdiags all sched

Cache L1/L2 Read Miss - SCHEDULED
Cache L1/L2 Write Miss - SCHEDULED
Cache L1 Read Miss, L2 Read Hit - SCHEDULED
Cache L1 Write Miss, L2 Read Hit - SCHEDULED
Cache 2-Way Set - SCHEDULED
Cache L2 Size - SCHEDULED
Cache L1 Tag - SCHEDULED
Memory Bus Float 32 - SCHEDULED
Memory Marching Pattern - SCHEDULED
R4K Memory Access - SCHEDULED

Related Commands

Command Description

debug rpm hwdiags memory

Displays debug messages for RPM memory tests.

debug rpm hwdiags stats

Displays debug messages for RPM hardware statistics.

debug rpm hwdiags cache 2way_set

To display debug messages for 2way_set tests>>verify<<, use the debug rpm hwdiags cache 2way_set EXEC command. To stop debugging, use the no form of this command.

[no] debug rpm hwdiags cache 2way_set {info | unsched | sched}

Syntax Description

info

Describes the test.

unsched

Unschedules all scheduled 2-way diagnostic tests.

sched

Schedules to run 2-way diagnostic tests.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

The following is an example of information output:

router# debug rpm hwdiags cache 2way_set info

Cache 2-Way Set Test
 
This test uses 3 different cache lines, but all have the same L1 index.
 
Flush L1/L2
Non-Cache Write
Cache Write Miss
Non-Cache Write
Cache Write Miss
Cache Read Miss
Compare Cache to Non-Cache
Non-Cache Write
Cache Read Miss
Compare Cache to Non-Cache
 

The following is an example of debug rpm hwdiags cache 2way_set unsched command output:

router# debug rpm hwdiags cache 2way_set unsched

Cache 2-Way Set Test - NOT SCHEDULED
 
debug rpm hwdiags cache 2way_set 
 
Cache 2-Way Set Test - PASSED
Cache 2-Way Set Test - run time = 8 msec
 

The following is an example of debug rpm hwdiags cache 2way_set sched command output:

router# debug rpm hwdiags cache 2way_set sched

Cache 2-Way Set Test - SCHEDULED

Related Commands

Command Description

debug rpm hwdiags cache sched

Schedules all cache hardware diagnostics.

debug rpm hwdiags cache sched

Unschedules all scheduled RPM hardware cache diagnostics.

debug rpm hwdiags memory

Displays debug messages for RPM memory tests.

debug rpm hwdiags stats

Displays debug messages for RPM hardware statistics.

debug rpm hwdiags all

Displays debug messages for all scheduled and unscheduled RPM hardware diagnostics.

debug rpm hwdiags cache sched

To schedule all cache hardware diagnostics, use the debug rpm hwdiags cache sched EXEC command. To stop debugging, use the no form of this command.

[no] debug rpm hwdiags cache sched

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

router# debug rpm hwdiags cache sched

Cache L1/L2 Read Miss Test - SCHEDULED
Cache L1/L2 Write Miss Test - SCHEDULED
Cache L1 Read Miss, L2 Read Hit Test - SCHEDULED
Cache L1 Write Miss, L2 Read Hit Test - SCHEDULED
Cache 2-Way Set Test - SCHEDULED
Cache L2 Size Test - SCHEDULED

Related Commands

Command Description

debug rpm hwdiags all

Displays debug messages for all scheduled and unscheduled RPM hardware diagnostics

debug rpm hwdiags memory

Displays debug messages for RPM memory tests.

debug rpm hwdiags stats

Displays debug messages for RPM hardware statistics.

debug rpm hwdiags cache 2way_set

Displays debug messages for 2way_set tests.

debug rpm hwdiags cache unsched

Unschedules all scheduled RPM hardware cache diagnostics.

debug rpm hwdiags cache unsched

To unschedule all scheduled RPM hardware cache diagnostics, use the debug rpm hwdiags cache unsched EXEC command. To stop debugging, use the no form of this command.

[no] debug rpm hwdiags cache unsched

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

router# debug rpm hwdiags cache unsched

Cache L1/L2 Read Miss Test - NOT SCHEDULED
Cache L1/L2 Write Miss Test - NOT SCHEDULED
Cache L1 Read Miss, L2 Read Hit Test - NOT SCHEDULED
Cache L1 Write Miss, L2 Read Hit Test - NOT SCHEDULED
Cache 2-Way Set Test - NOT SCHEDULED
Cache L2 Size Test - NOT SCHEDULED

Related Commands

Command Description

debug rpm hwdiags all

Displays debug messages for all scheduled and unscheduled RPM hardware diagnostics.

debug rpm hwdiags memory

Displays debug messages for RPM memory tests.

debug rpm hwdiags stats

Displays debug messages for RPM hardware statistics.

debug rpm hwdiags cache sched

Schedules all cache hardware diagnostics.

debug rpm hwdiags cache 2way_set

Displays debug messages for 2way_set tests.

debug rpm hwdiags memory

To display debug messages for RPM memory tests, use the debug rpm hwdiags memory EXEC command. To stop debugging, use the no form of this command.

[no] debug rpm hwdiags memory {busfloat32 | marching_pattern | unsched | r4k_access | sched}

Syntax Description

busfloat32

Specifies the 32-bit word test.

marching_pattern

Specifies the 32-bit marching pattern test.

unsched

Unschedules all scheduled RPM hardware diagnostics.

r4k_access

Specifies the r4k memory access test.

sched

Schedules all RPM hardware diagnostics.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

router# debug rpm hwdiags memory ?

busfloat32        32 bit word test
marching_pattern  32 bit marching pattern test
unsched           Unschedule all Memory Hardware Diags
r4k_access        r4k memory access test
sched             Schedule all Memory Hardware Diags

Related Commands

Command Description

debug rpm hwdiags all

Displays debug messages for all scheduled and unscheduled RPM hardware diagnostics

debug rpm hwdiags stats

Displays debug messages for RPM hardware statistics.

debug rpm hwdiags stats

To display debug messages for RPM hardware statistics, use the debug rpm hwdiags stats EXEC command. To stop debugging, use the no form of this command.

[no] debug rpm hwdiags stats {boot | maxtime number | sched}

Syntax Description

boot

Displays RPM boot hardware diagnosis statistics.

maxtime number

Specifies the amount of time in milliseconds that the RPM debug tests will run. Valid range is from 0 to 4,294,967,295.

sched

Specifies that scheduled RPM hardware diagnostics will run.

Defaults

No default behavior or values.

Command History

Release Modification

12.0(7)XR

This command was introduced.

Examples

The following is an example of RPM hardware boot diagnostic output:

router# debug rpm hwdiags stats boot

PASSED  time=   0 msec  Cache L1/L2 Read Miss
PASSED  time=   0 msec  Cache L1/L2 Write Miss
PASSED  time=   0 msec  Cache L1 Read Miss, L2 Read Hit
PASSED  time=   0 msec  Cache L1 Write Miss, L2 Read Hit
PASSED  time=   0 msec  Cache 2-Way Set
PASSED  time=   0 msec  Cache L2 Size
PASSED  time=   0 msec  Cache L1 Tag
PASSED  time=   0 msec  Memory Bus Float 32
PASSED  time=   0 msec  Memory Marching Pattern
PASSED  time=   0 msec  R4K Memory Access
 
Number of Boot Diags that FAILED = 0
Number of Boot Diags that PASSED = 10
 

The following example illustrates how to set the maximum time set for running RPM hardware diagnostics at 10 milliseconds:

router# debug rpm hwdiags stats maxtime 10

Scheduler Hardware Diag Max Time = 10 milliseconds
 

The following example lists all scheduled RPM hardware diagnostics with maxtime set at 10:

router# debug rpm hwdiags stats sched

Scheduler Hardware Diag Max Time = 10 milliseconds
Scheduler Diag Errors = 0
Scheduler has run 1557 Hardware Diags
 
Scheduler Hardware Diags:
 
ENABLED   PASSED  time=   0 msec  Cache L1/L2 Read Miss
ENABLED   PASSED  time=   0 msec  Cache L1/L2 Write Miss
ENABLED   PASSED  time=   0 msec  Cache L1 Read Miss, L2 Read Hit
ENABLED   PASSED  time=   0 msec  Cache L1 Write Miss, L2 Read Hit
ENABLED   PASSED  time=   4 msec  Cache 2-Way Set
DISABLED  PASSED  time=  16 msec  Cache L2 Size
ENABLED   PASSED  time=   4 msec  Cache L1 Tag
ENABLED   PASSED  time=   0 msec  Memory Bus Float 32
ENABLED   PASSED  time=   0 msec  Memory Marching Pattern
ENABLED   PASSED  time=   0 msec  R4K Memory Access

Related Commands

Command Description

debug rpm hwdiags memory

Displays debug messages for RPM memory tests.

debug rpm hwdiags all

Displays debug messages for all scheduled and unscheduled RPM hardware diagnostics.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Sun Dec 12 18:19:19 PST 1999
Copyright 1989-1999©Cisco Systems Inc.