Running Online Diagnostic Tests
Note
•
•
•
•
•
•
Starting and Stopping Online Diagnostic Tests
After you configure diagnostic tests to run, you can use the start and stop to begin or end a diagnostic
test.
To start or stop an online diagnostic command, perform one of these tasks:
Command
diagnostic start module 1 test { test_id |
test_id_range | minimal | complete | basic | per-port
| non-disruptive
| all} [port { num | port#_range | all}]
diagnostic stop module 1
This example shows how to start a diagnostic test:
Router# diagnostic start module 1 test 5
Module 1:Running test(s) 5 may disrupt normal system operation
Do you want to run disruptive tests? [no]yes
00:48:14:Running OnDemand Diagnostics [Iteration #1] ...
00:48:14:%DIAG-SP-6-TEST_RUNNING:Module 1:Running TestNewLearn{ID=5} ...
00:48:14:%DIAG-SP-6-TEST_OK:Module 1:TestNewLearn{ID=5} has completed successfully
00:48:14:Running OnDemand Diagnostics [Iteration #2] ...
00:48:14:%DIAG-SP-6-TEST_RUNNING:Module 1:Running TestNewLearn{ID=5} ...
00:48:14:%DIAG-SP-6-TEST_OK:Module 1:TestNewLearn{ID=5} has completed successfully
Router#
This example shows how to stop a diagnostic test:
Router# diagnostic stop module 1
Router#
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
55-6
We recommend that before you enable any online diagnostics tests that you enable the logging
console/monitor to see all warning messages.
We recommend that when you are running disruptive tests that you only run the tests when
connected through console. When disruptive tests are complete a warning message on the console
recommends that that you reload the system to return to normal operation: strictly follow this
warning.
While tests are running, all ports are shut down as a stress test is being performed with looping ports
internally and external traffic might skew the test results. The entire switch must be rebooted to
bring the switch to normal operation. When you issure the command to reload the switch, the system
will ask you if the configuration should be saved.
Do not save the configuration.
If you are running the tests on a supervisor engine, after the test is initiated and complete, you must
reload or power down and then power up the entire system.
If you are running the tests on a module that is not the supervisor engine, after the test is initiated
and complete, you must reset the module.
Chapter 55
Purpose
Starts a diagnostic test on a port or range of ports.
Stops a diagnostic test.
Configuring Generic Online Diagnostics
OL-4266-08