diagnostic monitor
To configure the health-monitoring diagnostic testing for a specified location, use the diagnostic monitor command in administration configuration mode. To remove the specified command from the configuration file and restore the system to its default condition, use the no form of this command.
diagnostic monitor location node-id test {id | test-name} [disable]
no diagnostic monitor location node-id test {id | test-name} [disable]
Syntax Description
node-id |
Location to enable diagnostic monitoring. The node-id argument is entered in the rack/slot/module notation. |
test {id | test-name} |
Specifies diagnostic test selection. The following test selections are available:
|
disable |
Disables diagnostic monitoring for a specified location. |
Command Default
To view the default value for each test, use the show diagnostic content command when the diagnostic image is first installed. The default may be different for each test.
Command Modes
Administration configuration
Command History
Release |
Modification |
---|---|
Release 3.4.0 |
This command was introduced. |
Usage Guidelines
Use the diagnostic monitor command to enable or disable health-monitoring diagnostic testing for a specified test at the specified location.
Use the disable keyword to disable a health-monitoring diagnostic test that is enabled by default. For example, if test 1 is enabled by default, the disable keyword disables the diagnostic test. If the no form of the command is used, the test is set to the default condition, which is enabled.
Note |
To specify a node using the node-id argument, use the rack/slot/module notation. For example, 0/0/CPU0 is a fully qualified location specification for a line card, 0/2/CPU0 is a fully qualified location specification for a line card, 0/7/CPU0 is a fully qualified location specification for a line card, 0/RSP0/CPU0 is a fully qualified location specification for a Route Switch Processor. |
Task ID
Task ID |
Operations |
---|---|
diag |
read, write |
Examples
The following example shows how to enable health-monitoring diagnostic testing for 0/1/cpu0:
RP/0/RSP0/CPU0:router(admin-config)# diagnostic monitor location 0/1/cpu0 test 1