2-122
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
diagnostic monitor
Command Modes Global configuration
Command History
Usage Guidelines Use these guidelines when scheduling testing:
• test-id—Enter the show diagnostic content privileged EXEC command to display the test ID list.
• test-id-range—Enter the show diagnostic content command to display the test ID list. Enter the
range as integers separated by a comma and a hyphen (for example, 1,3-6 specifies test IDs 1, 3, 4,
5, and 6).
• hh—Enter the hours from 0 to 23.
• mm—Enter the minutes from 0 to 60.
• ss—Enter the seconds from 0 to 60.
• milliseconds—Enter the milliseconds from 0 to 999.
• day—Enter the day as a number from 0 to 20.
When entering the diagnostic monitor switch {num} test {test-id | test-id-range | all} command, follow
these required guidelines
• Isolate network traffic by disabling all connected ports, and do not pump test packets during the test.
• Reset the system or the test module before putting the system back into the normal operating mode.
Note If you are running a diagnostic test that has the reload attribute on a switch in a stack, you could
potentially partition the stack depending on your cabling configuration. To avoid partitioning your stack,
you should enter the show switch detail privileged EXEC command to verify the stack configuration.
Examples This example shows how to configure the specified test to run every 2 minutes:
Switch(config)# diagnostic monitor interval switch 1 test 1 00:02:00 0 1
This example shows how to run the test on the specified switch if health monitoring has not previously
been enabled:
Switch(config)# diagnostic monitor switch 1 test 1
This example shows how to set the failure threshold for test monitoring on a switch:
Switch(config)# diagnostic monitor threshold switch 1 test 1 failure count 50
This example shows how to enable the generation of a syslog message when any health monitoring test
fails:
Switch(config)# diagnostic monitor syslog
Release Modification
12.2(25)SEE This command was introduced.