21-9
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 21 Configuring GOLD
Configuring Online Diagnostics
Console> (enable)
This example shows how to enable test 18 on module 7:
Console> (enable)
set diagnostic monitor module 7 test 18
Module 7 test 18 diagnostic monitor enable.
Console> (enable)
This example shows how to enable syslog generation when a test fails:
Console> (enable)
set diagnostic monitor syslog
Diagnostic monitor syslog enable.
Console> (enable)
Scheduling Online Diagnostics
You can schedule online diagnostics to run at a designated time of day or on a daily, weekly, or monthly
basis for a specific module. You can specify that all tests be run or that individual tests be run. The tests
can be scheduled to run only once or be repeated at specified intervals.
Note
After you schedule the online diagnostics to run at a designated time, the online diagnostics will not run
at the designated time if you change the system time using the
set time
command. For example, if you
schedule the online diagnostics to run at 3:00 pm, then change the system time to 2:59 pm, the online
diagnostics will not run at 3:00 pm.
To schedule online diagnostics, perform this task in privileged mode:
This example shows how to schedule diagnostic testing (tests 1 and 2 specified) to occur on a specific date
and time for a specific module:
Console> (enable)
set diagnostic schedule module 7 test 1 daily 12:12
Diagnostic schedule set at daily 12:12 for module 7 test 1
Console> (enable)
This example shows how to schedule diagnostic testing (test 1 specified) to occur daily at a certain time for
a specific port and module:
Console> (enable)
set diagnostic schedule module 7 test 3 port 1 daily 16:16
Diagnostic schedule set at daily 16:16 for module 7 test 3
Console> (enable)
Console> (enable)
show diagnostic schedule module 7
Current Time = Fri Apr 15 2005, 16:56:06
Diagnostic for Module 7:
Task
Command
Step 1
Schedule online diagnostics.
set diagnostic schedule module
slot_num
test
{
test-id
|
test-id-range
|
all
} {[
port
{
port_num
|
port_num_range
|
all
}] | [
daily
hh
:
mm
] [
on
month
day_of_month year hh
:
mm
] [
weekly
day
hh
:
mm
]}
Step 2
Display the online diagnostic scheduling.
show diagnostic schedule module
mod_list