55-4
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 55 Configuring Generic Online Diagnostics
Configuring Online Diagnostics
Step 5
Run the exhaustive-memory tests.
Before running the exhaustive memory tests, all health-monitoring tests should be disabled because the
tests will fail with health monitoring enabled and the switch will take recovery action. Disable the
health-monitoring diagnostic tests by using the
no diagnostic monitor module 1 test all
command.
Perform the exhaustive memory tests in the following order:
1.
TestFibTcamSSRAM
2.
TestAclQosTcam
3.
TestNetFlowTcam
4.
TestAsicMemory
5.
TestAsicMemory
You must reboot the after running the exhaustive memory tests before it is operational again. You cannot
run any other tests on the router after running the exhaustive memory tests. Do not save the configuration
when rebooting as it will have changed during the tests. After the reboot, reenable the health monitoring
tests using the
diagnostic monitor module 1 test all
command
To set the bootup diagnostic level, perform this task:
This example shows how to set the on-demand testing iteration count:
Router#
diagnostic ondemand iteration 3
Router#
This example shows how to set the execution action when an error is detected:
Router#
diagnostic ondemand action-on-error continue 2
Router#
Scheduling Online Diagnostics
You can schedule online diagnostics to run at a designated time of day or on a daily, weekly, or monthly
basis. You can schedule tests to run only once or to repeat at an interval. Use the
no
form of this
command to remove the scheduling.
To schedule online diagnostics, perform this task:
Command
Purpose
Router#
diagnostic ondemand
{
iteration
iteration_count
} | {
action-on-error
{
continue
|
stop
}[
error_count
]}
Configures on-demand diagnostic tests to run, how many
times to run (iterations), and what action to take when errors
are found.
Command
Purpose
Router(config)#
diagnostic schedule module 1
test
{
test_id
|
test_id_range
|
all
} [
port
{
num
|
num_range
|
all
}] {
on
mm
dd
yyyy
hh
:
mm
} | {
daily
hh
:
mm
} | {
weekly
day_of_week
hh
:
mm
}
Schedules on-demand diagnostic tests for a specific date and
time, how many times to run (iterations), and what action to
take when errors are found.