395
undo diagnostic ondemand repeating
Default
The default number of executions is 1.
Views
User view
Predefined user roles
network-admin
Parameters
repeating-number
: Specifies the number of executions for on-demand diagnostic tests, in the range
of 1 to 999.
Usage guidelines
Use this command to configure the number of executions for diagnostic tests to be enabled. This
command does not survive a device reboot.
Do not specify a number smaller than the configured number of failed tests.
Examples
# Configure the number of executions as
2
for all on-demand diagnostic tests.
<Sysname> diagnostic ondemand repeating 2
Related commands
diagnostic ondemand failure
diagnostic ondemand start
display diagnostic configuration
diagnostic ondemand start
Use
diagnostic ondemand start
to enable on-demand diagnostics.
Syntax
In standalone mode:
diagnostic ondemand start slot
slot-number-list
test
{
non-disruptive
|
test-name
} [
para
parameters
]
In IRF mode:
diagnostic ondemand start chassis
chassis-number
slot
slot-number-list
test
{
non-disruptive
|
test-name
} [
para
parameters
]
Default
All on-demand diagnostic tests need to be manually enabled.
Views
User 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.)