396
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-name
: Specifies a test by its name, a case-insensitive string of 1 to 31 characters.
non-disruptive
: Executes all non-disruptive diagnostic tests.
para
parameters
: Specifies an extended parameter. It is not supported.
Usage guidelines
On-demand diagnostics allow you to manually execute certain diagnostic tests. These tests are
known as on-demand diagnostic tests.
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.) Start all non-disruptive diagnostic tests on card 1.
<Sysname> diagnostic ondemand start slot 1 test non-disruptive
# (In IRF mode.) Start all non-disruptive diagnostic tests on card 2 of IRF member device 1.
<Sysname> diagnostic ondemand start chassis 1 slot 2 test non-disruptive
Related commands
diagnostic ondemand failure
diagnostic ondemand repeating
diagnostic ondemand stop
Use
diagnostic ondemand stop
to stop on-demand diagnostic tests.
Syntax
In standalone mode:
diagnostic ondemand stop slot
slot-number-list
test
{
non-disruptive
|
test-name
}
In IRF mode:
diagnostic ondemand stop chassis
chassis-number
slot
slot-number-list
test
{
non-disruptive
|
test-name
}
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