392
Default
The default enabling status varies by monitoring diagnostic test. To view the status of diagnostic
tests, use the
display diagnostic content
command.
Views
System view
Predefined user roles
network-admin
Parameters
slot
slot-number-list
: Specifies a space-separated list of up to seven slot number items. Each item
specifies a card by its slot number or a range of cards in the form of
start-slot-number
to
end-slot-number
. (In standalone mode.)
chassis
chassis-number
slot
slot-number-list
: Specifies cards on an IRF member device. The
chassis-number
argument represents the member ID of the IRF member device. The
slot-number-list
argument specifies a space-separated list of up to seven slot number items. An item
specifies a card by its slot number, a range of cards in the form of
start-slot-number
to
end-slot-number
, by its virtual slot number. The end slot number must be equal to or greater than the
start slot number. (In IRF mode.)
test
test-name
: Specifies a test by its name, a case-insensitive string of 1 to 31 characters. If you do
not specify this option, the command enables all monitoring diagnostic tests on the specified cards.
Usage guidelines
Monitoring diagnostics enable the system to periodically run diagnostic tests to detect hardware
faults and record test results. Monitoring diagnostics execute only non-disruptive tests.
Disruptive diagnostic tests that are being executed affect device operation or even disable certain
functions, but non-disruptive diagnostic tests do not.
The system automatically executes enabled monitoring diagnostic tests after the device starts. Use
the
diagnostic monitor enable
command to enable diagnostic tests that are disabled by default.
Examples
# (In standalone mode.) Enable test
HGMonitor
on card 2.
<Sysname> system-view
[Sysname] diagnostic monitor enable slot 2 test HGMonitor
# (In IRF mode.) Enable test
HGMonitor
on card 2 of IRF member device 2.
<Sysname> system-view
[Sysname] diagnostic monitor enable chassis 2 slot 2 test HGMonitor
Related commands
diagnostic monitor interval
diagnostic monitor interval
Use
diagnostic monitor interval
to configure an execution interval for monitoring diagnostic tests.
Use
undo diagnostic monitor interval
to restore the default.
Syntax
In standalone mode:
diagnostic monitor interval slot
slot-number-list
[
test
test-name
]
time
time
undo diagnostic monitor interval slot
slot-number-list
[
test
test-name
]