48-4
Cisco Catalyst Blade Switch 3120 for HP Software Configuration Guide
OL-12247-01
Chapter 48 Configuring Online Diagnostics
Configuring Online Diagnostics
To disable diagnostic testing and return to the default settings, use these commands:
•
To disable online diagnostic testing, use the no diagnostic monitor switch number test {name |
test-id | test-id-range | all} global configuration command.
•
To return to the default health-monitoring interval, use the no diagnostic monitor interval switch
number test {name | test-id | test-id-range | all} global configuration command.
•
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
Step 4
diagnostic monitor threshold switch
number test {name | test-id |
test-id-range | all} failure count count
(Optional) Set the failure threshold for the health-monitoring tests.
The range for the switch number keyword is from 1 to 9.
When specifying the tests, use one of these parameters:
•
name—Name of the test that appears in the show diagnostic content
command output.
•
test-id—ID number of the test that appears in the show diagnostic
content command output.
•
test-id-range—ID numbers of the tests that appear in the show
diagnostic content command output.
•
all—All of the diagnostic tests.
The range for the failure threshold count is 0 to 99.
Step 5
diagnostic monitor switch number test
{name | test-id | test-id-range | all}
Enable the specified health-monitoring tests.
The range for the switch number keyword is from 1 to 9.
When specifying the tests, use one of these parameters:
•
name—Name of the test that appears in the show diagnostic content
command output.
•
test-id—ID number of the test that appears in the show diagnostic
content command output.
•
test-id-range—ID numbers of the tests that appear in the show
diagnostic content command output.
•
all—All of the diagnostic tests.
Step 6
end
Return to privileged EXEC mode.
Step 7
show diagnostic {content | post | result
| schedule | status | switch}
Display the online diagnostic test results and the supported test suites. See
the
“Displaying Online Diagnostic Tests and Test Results” section on
page 48-6
for more information.
Step 8
show running-config
Verify your entries.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose