Chapter 46 Configuring Online Diagnostics

Running Online Diagnostic Tests

•To configure the switch to not generate a syslog message when the health-monitoring test fails, use the no diagnostic monitor syslog global configuration command.

•To return to the default failure threshold, use the no diagnostic monitor threshold switch number test {name test-id test-id-range all} failure count count global configuration command.

This example shows how to configure a health-monitoring test:

Switch(config)# diagnostic monitor threshold switch 3 test 1 failure count 50

Switch(config)# diagnostic monitor interval switch 3 test TestPortAsicRingLoopback

Running Online Diagnostic Tests

After you configure online diagnostics, you can manually start diagnostic tests or display the test results. You can also see which tests are configured for the switch or switch stack and the diagnostic tests that have already run.

These sections describe how to run online diagnostic tests:

•Starting Online Diagnostic Tests, page 46-5

•Displaying Online Diagnostic Tests and Test Results, page 46-6

Starting Online Diagnostic Tests

After you configure diagnostic tests to run on the switch, use the diagnostic start privileged EXEC command to begin diagnostic testing.

Use this privileged EXEC command to manually start online diagnostic testing:

Command

Purpose

 

 

diagnostic start switch number

Start the diagnostic tests.

test {name test-id test-id-range

The switch number keyword is supported only on Catalyst 3750-E switches. The range is

all basic non-disruptive}

from 1 to 9.

 

 

You can specify the tests by using one of these options:

 

• name—Enter the name of the test. Use the show diagnostic content privileged EXEC

 

command to display the test ID list.

 

• test-id—Enter the ID number of the test. Use the show diagnostic content privileged

 

EXEC command to display the test ID list.

 

• test-id-range—Enter the range of test IDs by using integers separated by a comma

 

and a hyphen. For more information, see the diagnostic start command in the

 

command reference for this release.

 

• all—Use this keyword when you want to run all of the tests.

 

• basic—Use this keyword when you want to run the basic test suite.

 

• non-disruptive—Use this keyword when you want to run the non-disruptive test

 

suite.

 

 

After starting the tests, you cannot stop the testing process.

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

OL-9775-02

46-5

 

 

 

Page 1125
Image 1125
Cisco Systems 3750E Running Online Diagnostic Tests, Starting Online Diagnostic Tests, Diagnostic start switch number