397
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-name
: Specifies a test by its name, a case-insensitive string of 1 to 31 characters.
non-disruptive
: Executes all non-disruptive diagnostic tests.
Usage guidelines
You can configure the number of executions and the maximum number of failed tests for on-demand
diagnostic tests at the CLI. When either threshold is reached, the system immediately stops
executing the tests.
Examples
# (In standalone mode.) Stop all non-disruptive diagnostic tests on card 1.
<Sysname> diagnostic ondemand stop slot 1 test non-disruptive
# (In IRF mode.) Stop all non-disruptive diagnostic tests on card 1 of IRF member device 2.
<Sysname> diagnostic ondemand stop chassis 2 slot 1 test non-disruptive
Related commands
diagnostic ondemand failure
diagnostic ondemand repeating
diagnostic simulation
Use
diagnostic simulation
to simulate diagnostic tests.
Use
undo diagnostic simulation
to restore the default.
Syntax
In standalone mode:
diagnostic simulation slot
slot-number-list
test
test-name
{
failure
|
random-failure
|
success
}
undo diagnostic simulation slot
slot-number-list
test
test-name
In IRF mode:
diagnostic simulation chassis
chassis-number
slot
slot-number-list
test
test-name
{
failure
|
random-failure
|
success
}
undo diagnostic simulation chassis
chassis-number
slot
slot-number-list
test
test-name
Default
All diagnostic tests are executed instead of simulated.
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.)
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